IMDb-Scout
IMDb-Scout copied to clipboard
torrentleech not working.
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: "
If you manually edit the script to remove the </div>
part, does that fix the false positives?
none of these work:
/No results found.<\/div>/ /No results found./ /<div>No results found.<\/div>/
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.
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)
I can give you the html part and you can give me the needed regex mach for it?
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>