IMDb Scout Mod

Adds links to IMDb pages from the torrent, ddl, subtitles, streaming, usenet and other sites.

目前為 2021-02-13 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Catspinner
評價
0 0 0
版本
8.7.5
建立日期
2020-07-17
更新日期
2021-02-13
尺寸
176.1 KB
授權條款
MIT
腳本執行於

alt text

IMDb Scout Mod:

New additions, features, tweaks and bugfixes.
Adds links to IMDb pages from the torrent, ddl, subtitles, streaming, usenet and other sites.
Supports Greasemonkey, Violentmonkey & Tampermonkey.

Meanings of the color borders around the icons:

alt text - Search completed. Results found.
alt text - Search completed. Results not found.
alt text - No access to search.
alt text - Search completed. Request found.

Contributing:

Contributions are welcome. You can do that at GitHub.

Adding new sites:

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, abbreviated.
  • icon (optional): Icon for the site.
  • searchUrl: The URL to perform the search against, see below for how to tailor the string to a site.
  • matchRegex: The string which appears if the searchUrl doesn't return a result.
  • postiveMatch (optional): Changes the test to return true if the searchUrl does return a result that matches matchRegex
  • TV (optional): If true, it means that this site will only show up on TV pages. By default, sites only show up on movie pages.
  • both (optional): Means that the site will show up on both movie and TV pages.
  • spaceEncode (optional): Changes the character used to encode spaces in movie titles. The default is '+'.
  • goToUrl (optional): Different URL used for link (instead of searchUrl).
  • loggedOutRegex (optional): If any text on the page matches this regex, the site is treated as being logged out.
  • configName (optional): Use this to allow changing names without breaking existing users.
  • inSecondSearchBar (optional): Places site at the second searchable bar.
  • inThirdSearchBar (optional): Places site at the third searchable bar.
  • rateLimit (optional): Connection rate limit in milliseconds. Default is 200. On the Search/List pages if rateLimit<=1000 then it will be increased by a factor of 4.
  • mPOST: HTTP request by POST method. For the sites that doesn't support GET.

Parameters you can use inside the URL:

  • %tt%: The IMDb id with the tt prefix (e.g. tt0055630).
  • %nott%: The IMDb id without the tt prefix (e.g. 0055630).
  • %search_string%: The movie title (e.g. Yojimbo). Depends on your preferences at www.imdb.com/preferences/general .
  • %search_string_orig%: The original movie title (e.g. Yôjinbô). Reverts to %search_string% if an original title is not set at IMDb.
  • %year%: The movie year (e.g. 1961).

See the script for examples.

Versioning:

Follows a bastardization of the semver standard:

  • Patch versions will not change behavior, only the URL/settings for trackers.
  • Minor versions will definitely change code, although behavior may in fact remain the same.
  • Major versions will definitely change behavior, although it will only be increased at the discretion of the current maintainer.