From 91bb8fae50b49a42811312cceb923f2c43da50e3 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Wed, 28 Oct 2020 20:29:21 +1300 Subject: [PATCH] add mixtapetorrent a public site resolves #9988 --- README.md | 5 +- .../Definitions/mixtapetorrent.yml | 65 +++++++++++++++++++ 2 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 src/Jackett.Common/Definitions/mixtapetorrent.yml diff --git a/README.md b/README.md index 817c39967..40ffdccd5 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * IBit * Idope * Il CorSaRo Blu - * Il Corsaro Nero + * Il Corsaro Nero * Internet Archive (archive.org) * Isohunt2 * iTorrent @@ -80,7 +80,8 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * MacTorrents * Magnet4You * MagnetDL - * MejorTorrent + * MejorTorrent + * MixTapeTorrent * Monova * MovCr * MoviesDVDR diff --git a/src/Jackett.Common/Definitions/mixtapetorrent.yml b/src/Jackett.Common/Definitions/mixtapetorrent.yml new file mode 100644 index 000000000..1bcf9caff --- /dev/null +++ b/src/Jackett.Common/Definitions/mixtapetorrent.yml @@ -0,0 +1,65 @@ +--- +id: mixtapetorrent +name: MixtapeTorrent +description: "MixtapeTorrent is a Public Music site for MixTapes" +language: en-us +type: public +encoding: UTF-8 +links: + - http://www.mixtapetorrent.com/ # does not support https NET::ERR_CERT_AUTHORITY_INVALID + +caps: + categories: + # while the site has categories for searching, it does not include them in the results. + 1: Audio + + modes: + search: [q] + music-search: [q] + +settings: [] + +download: + selector: table#attachments > tbody > tr.odd > td > a + attribute: href + +search: + paths: + # http://www.mixtapetorrent.com/search/node/2020+type:story + - path: "search/node/{{ if .Keywords }}{{ .Keywords }}{{ else }}2020{{ end }} type:story" + + rows: + selector: dl.search-results > dt, dl.search-results > dd + after: 1 + + fields: + category: + text: 1 + title: + selector: a + details: + selector: a + attribute: href + download: + selector: a + attribute: href + description: + selector: p + date: + selector: p.search-info + filters: + - name: regexp + args: "(\\w{3} \\d{1,2} \\d{4} - \\d{1,2}:\\d{2}[a|p]m)" + - name: dateparse + args: "Jan 2 2006 - 3:04pm" + size: + text: "128 MB" + seeders: + text: 1 + leechers: + text: 1 + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a