diff --git a/README.md b/README.md index a9db7f1f8..a598c2faf 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * BitRu * BitSearch * BT.etree - * BT4G * BTDIGG * BTMET * BTSOW diff --git a/src/Jackett.Common/Definitions/bt4g.yml b/src/Jackett.Common/Definitions/bt4g.yml deleted file mode 100644 index f8d7345a7..000000000 --- a/src/Jackett.Common/Definitions/bt4g.yml +++ /dev/null @@ -1,77 +0,0 @@ ---- -id: bt4g -name: BT4G -description: "BT4G is a Public metadata crawler for magnets" -language: en-US -type: public -encoding: UTF-8 -links: - - https://bt4g.org/ - -caps: - categories: - Application: PC - Archive file: Other - Audio: Audio - Doc: Books - Other: Other - Video: Movies - TV: TV # dummy cat to allow both Movies,TV to be categorised when Video is found. - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -settings: [] - -search: - paths: - # https://bt4g.org/search/2021 - # site does not support cat search - - path: "search/{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}/1" - - rows: - selector: div.row > div.col > div:has(h5) - - fields: - title: - selector: a - category: - selector: span.cpill - category|append: - # add tv to video - optional: true - selector: span.cpill - filters: - - name: replace - args: ["Video", "TV"] - details: - selector: a - attribute: href - infohash: - selector: a - attribute: href - filters: - - name: replace - args: ["/magnet/", ""] - date: - selector: span:nth-last-child(5) b - filters: - - name: dateparse - args: "yyyy-MM-dd" - files: - selector: span:nth-last-child(4) b - size: - selector: span:nth-last-child(3) b - seeders: - selector: span:nth-last-child(2) b - leechers: - selector: span:nth-last-child(1) b - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index e90366f45..73e1cb0fb 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -301,6 +301,7 @@ namespace Jackett.Updater "Definitions/brobits.yml", "Definitions/brsociety.yml", // switch to *-API #8682 "Definitions/bt-scene.yml", + "Definitions/bt4g.yml", "Definitions/btbit.yml", "Definitions/btdb.yml", "Definitions/bteye.yml",