Add links in IMDb pages to torrent sites -- easy downloading from IMDb
Greasemonkey is currently not supported. Try alternatives such as Violentmonkey or Tampermonkey.
Currently the script works on both individual pages (e.g. https://www.imdb.com/title/tt4131188/), and the advanced title search (e.g. https://www.imdb.com/search/title/?title=test)
The Github repository is the best place to report bugs and submit changes, however I will still make an effort to check the GreasyFork page or any other relevant places.
Inside the script, there is a list of dictionaries that contains of all the sites, and the data necessary to check IMDb against them. Each site is a dictionary with the following attributes:
name
: The site name, abbreviatedsearchUrl
: The URL to perform the search against, see below for how to tailor the string to a sitematchRegex
: The string which appears if the searchUrl doesn't return a resultpostiveMatch
(optional): Changes the test to return true if the searchUrl does return a result that matches matchRegexTV
(optional): If true, it means that this site will only show up on TV pages. By default, sites only show up on movie pagesboth
(optional): Means that the site will show up on both movie and TV pagesTo create a search URL, there are four parameters you can use inside the URL:
See the script for examples.
Follows a bastardization of the semver standard: