-
Notifications
You must be signed in to change notification settings - Fork 306
Fix for torrentz2.eu #49
Comments
thanks for the fix. the config was put in a gist is because the changes were very often at the beginning, now I think moving it back the the main repo is better. The scraper module was written by the original author of cloud-torrent, the scraper config has no document at all. I make the scraper json URL configurable as |
Wow, you’re fast! That’s awesome!! Many thanks! |
Strange, it’s still not right in version 1.2.2, it shows the second page and not the first one. To verify: search for “Ubuntu” in SimpleTorrent. Then open a browser, open torrentz2.eu and search for “Ubuntu” there. If you now click on ‘Next page’ you’ll see the results that SimpleTorrent shows (so: page 2). I’ll look into it tonight. |
That's because torrentz2.eu is counting first page as p=0, but simple torrent is counting the page from 1. This is tricky, not all sites behave like this. I'll figure how to coordinate with them. |
It's turns out quite a simple solution: a test in javascript: if url has " |
Great 👍 |
For torrentz2 support, I see in your gist:
This is broken, probably due to the page number. The first page is page 0, not page 1. Below fix also adds support for seeds and peers.
Please also change the name from
Z2
toTorrentz2
asZ2
is extremely unclear and that's perfectly unnecessary.A pull request would be easier, but that's not possible for your gist (see #30), so a repo file would be preferable.
Thanks!
The text was updated successfully, but these errors were encountered: