add info hash v2 support

This commit is contained in:
ghost 2023-09-04 02:48:24 +03:00
parent a11bb40f68
commit 6d0b42a88b
7 changed files with 355 additions and 174 deletions

View file

@ -19,6 +19,10 @@ source magnet : yggtracker
`magnet`.`metaDescription`, \
`magnet`.`description`, \
`magnet`.`dn`, \
(SELECT GROUP_CONCAT(DISTINCT `infoHash`.`value`) \
FROM `infoHash` \
JOIN `magnetToInfoHash` ON (`magnetToInfoHash`.`magnetId` = `magnet`.`magnetId`) \
WHERE `infoHash`.`infoHashId` = `magnetToInfoHash`.`infoHashId`) AS `infoHash`, \
(SELECT GROUP_CONCAT(DISTINCT `keywordTopic`.`value`) \
FROM `keywordTopic` \
JOIN `magnetToKeywordTopic` ON (`magnetToKeywordTopic`.`magnetId` = `magnet`.`magnetId`) \