Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse multiple links at subpage #331

Open
gabrielchristo opened this issue May 11, 2023 · 2 comments
Open

Parse multiple links at subpage #331

gabrielchristo opened this issue May 11, 2023 · 2 comments

Comments

@gabrielchristo
Copy link

Hello,

I was doing some custom providers and faced this: many websites have multiple magnets at the subpage, often one link for each resolution (1080, 4k, ...)

AFAK, burst.py gets the first matched url (method extract_from_page, line 562). Any chance of add option to return a list of magnets from the subpage?

@antonsoroko
Copy link
Contributor

@elgatito what do you think about this?
it looks like many/most Brazilian torrent trackers are not "real" trackers but are simple blogs that post links to torrents.
i guess such sites are more friendly to non-technical users, but they are very horrible for machine parsing.

we can return all links, but then - how to identify what each link represents? we need to know resolution, size, seeds/peers, etc.

just curious if you already thought about this.

@antonsoroko
Copy link
Contributor

btw, there is fork that has such change (it returns all links) - addon-rajada@4cfc886#diff-9a3964ef8b599dbb003fa926f8922c77303c2af2b596d3c09f4aba9ca126db4eR870

but looks like this fork have only specific changes to support those fake trackers. so i am not sure if it makes sense to port those changes back to burst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants