Script Summary: Displays IMDB ratings and highlights the best movies on the Pirate Bay
Version: 1.7.2
Based on the script http://userscripts.org/scripts/show/38682
The script relies on the fact that most of the Pirate Bay uploaders put the url to the IMDB in the information of the torrent.
If the url is not provided then the link to the torrent will be displayed as usual.
For Chrome please use the Tampermonkey extension to run the script.
You can download it from https://chrome.google.com/webstore/detail/dhdgf...
Then you can install this script and choose to install it from Tampermonkey
VERSION HISTORY
version 1.7.2:
Changed the PirateBay url to thepiratebay.se
version 1.7.1:
Refactored the source code and fixed the filtering functionality.
version 1.7:
Added sorting funtions to the torrents table.
version 1.6:
Changed the pattern to get the rating and the votes from IMDB due to the change of IMDB.
version 1.5:
IMDB changed again and there was the same problem as in version 1.2 retrieving the rating.
Pattern changed again to resolve the issue.
version 1.4:
Gets from IMDB the movie's genres and displays them under the title.
version 1.3:
IMDB changed the style of its pages so the rating could not be retrieved.
Changed the rating pattern in order to be parsed correctly by the script.
version 1.2:
If the script can't find the IMDB url in the first page of the torrent details then it loads the 1st comment screen where usually some user has added the IMDB url as a comment.
This adds additional IMDB votes and links for approximately 25% more torrents.
version 1.1:
Added a loading indicator in each row in the torrents table to indicate that some processing occurs regarding this row.
Because the loading happens asynchronously each rating will appear without any specific order. If no info can be found about the movie then a warning message appears.
version 1.0:
Initial version. The script loads with AJAX the page that the Piratebay link points to and searches the link to the IMDB that provides the movie info.
When it finds it, gets the IMDB page with AJAX, gets the rating and the number of votes and updates the pirate bay torrents table.



