Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

torrentleech not working. #26

Open
rezad1393 opened this issue May 18, 2019 · 7 comments
Open

torrentleech not working. #26

rezad1393 opened this issue May 18, 2019 · 7 comments

Comments

@rezad1393
Copy link

I am trying to add this to websites supported by this script.
but I have issue with false positive (always says found results)
the url you used is not working and I am also trying to add support for imdb-id which has this url
https://www.torrentleech.org/torrents/browse/index/imdbID/ttxxxxxxxx
but when no movies are found the script still says found.
the matchRegex that I use is this " 'matchRegex': /No results found.</div>/, "
but this doesnt work.
this is the part that shows no results found:
"

No results found.
"
using that also doesnt work.
any idea what should I use?

@kannibalox
Copy link
Owner

If you manually edit the script to remove the </div> part, does that fix the false positives?

@rezad1393
Copy link
Author

rezad1393 commented May 18, 2019

none of these work:
/No results found.<\/div>/ /No results found./ /<div>No results found.<\/div>/

@kannibalox
Copy link
Owner

Unfortunately I'm not on TorrentLeech so I can't test things. If you find a combination that works, I'm ready and willing to merge the change.

@rezad1393
Copy link
Author

my problem is that whatever I use doesn't work and also yours doesn't work (which is not id based and is name based)

@rezad1393
Copy link
Author

I can give you the html part and you can give me the needed regex mach for it?

@rezad1393
Copy link
Author

I am not a web devepoler so I dont know how to show you the result page
saving the page in firefox just text the text with no /div/ or anything like that.
I dont know why.I just know some html from a long time ago so I dont know how non-static pages are captured to do it.
the page source for results also doesnt show that div and is seems like a generic page instead of actual page that is rendered in firefox.

this is the best I can take out of firefox (it doesnt let me save from web developer and I dont know how)

<div class="header col-md-12" data-field="imdbID"><button class="close btn-inline"><span>×</span></button>Torrents for the movie: null</div>

@rezad1393
Copy link
Author

this is the main page js

main.fd3a8c8098a60f778a6f.js:formatted.tar.gz

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

No branches or pull requests

2 participants