Skip to content

Commit

Permalink
release: v2.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
newt-sc committed Jul 2, 2021
1 parent 2daf98c commit 91dc337
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 37 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
* [v2.63.0](https://github.com/a4k-openproject/a4kScrapers/releases/tag/a4kScrapers-2.63.0):
* remove 7torrents - its slow and does not get updated
* remove skytorrents - dead links
* remove extratorrents - dead links
* skip head requests for lime

* [v2.62.0](https://github.com/a4k-openproject/a4kScrapers/releases/tag/a4kScrapers-2.62.0):
* test fixes and handle head request exceptions

Expand Down
2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"author": "Unknown",
"version":"2.62.0",
"version":"2.63.0",
"name":"a4kScrapers",
"update_directory": "https://github.com/a4k-openproject/a4kScrapers/archive/",
"remote_meta": "https://raw.githubusercontent.com/newt-sc/a4kScrapers/master/meta.json",
Expand Down
2 changes: 1 addition & 1 deletion providerModules/a4kScrapers/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ def _find_url(self):
if self._url is not None:
return self._url

if self.caller_name in ['showrss', 'skytorrents', 'bt4g', 'btscene', 'glo', 'extratorrents', 'torrentapi', 'torrentz2', 'scenerls', 'piratebay', 'magnetdl', '7torrents']:
if self.caller_name in ['showrss', 'lime', 'bt4g', 'btscene', 'glo', 'torrentapi', 'torrentz2', 'scenerls', 'piratebay', 'magnetdl']:
self._request.skip_head = True

return self._request.find_url(self._urls)
Expand Down
1 change: 0 additions & 1 deletion providerModules/a4kScrapers/scrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def soup_filter(self, response):
response = normalize(response.text)

return (
self._parse_rows(response, row_tag='<div class="media"') + #7torrents
self._parse_rows(response, row_tag='tgxtablerow') + #torrentgalaxy
self._parse_rows(response, row_tag='<tr') +
self._parse_rows(response, row_tag='<dl') +
Expand Down
22 changes: 3 additions & 19 deletions providerModules/a4kScrapers/urls.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"trackers": {
"cached": { "search": "", "domains": [{ "base": "" }] },
"7torrents": {
"search": "/search?query=%s&sort=seeders",
"domains": [
{ "base": "https://www.7torrents.cc" }
]
},
"-7torrents": { "search": "", "domains": [{ "base": "" }] },
"bitlord": {
"search": "/get_list",
"domains": [
Expand Down Expand Up @@ -45,12 +40,7 @@
]
},
"-ext": { "search": "", "domains": [{ "base": "" }] },
"extratorrent": {
"search": "/search/?new=1&search=%s",
"domains": [
{ "base": "https://extratorrents.it" }
]
},
"-extratorrent": { "search": "", "domains": [{ "base": "" }] },
"eztv": {
"search": "/search/%s",
"domains": [
Expand Down Expand Up @@ -143,13 +133,7 @@
{ "base": "https://showrss.info" }
]
},
"skytorrents": {
"search": "",
"domains": [
{ "base": "https://sitenable.top/o.php?b=60&pv=4&mobile=&u=http%%3A%%2F%%2Fskytorrents.in%%2Fsearch%%3Fl%%3Den-us%%26q%%3D%s" },
{ "base": "https://www.skytorrents.net/?search=%s" }
]
},
"-skytorrents": { "search": "", "domains": [{ "base": "" }] },
"solidtorrents": {
"search": "/api/v1/search?q=%s&category=video&sort=size",
"domains": [
Expand Down
7 changes: 0 additions & 7 deletions providers/a4kScrapers/en/torrent/extratorrent.py

This file was deleted.

7 changes: 0 additions & 7 deletions providers/a4kScrapers/en/torrent/skytorrents.py

This file was deleted.

2 changes: 1 addition & 1 deletion update_cached_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

torrent_scrapers = {}
for scraper in torrent_module.__all__:
if scraper in ['bitcq', 'bitlord', 'ext', 'extratorrent', 'glo', 'kickass', 'lime', 'magnetdl', 'nyaa', 'piratebay', 'skytorrents', 'solidtorrents', 'torrentapi', 'torrentdownload', 'torrentgalaxy', 'torrentparadise', 'torrentz2', 'yts']:
if scraper in ['bitcq', 'bitlord', 'glo', 'kickass', 'lime', 'magnetdl', 'nyaa', 'piratebay', 'solidtorrents', 'torrentapi', 'torrentdownload', 'torrentgalaxy', 'torrentparadise', 'torrentz2', 'yts']:
torrent_scrapers[scraper] = importlib.import_module('providers.a4kScrapers.en.torrent.%s' % scraper)

url = os.getenv('A4KSCRAPERS_TRAKT_API_URL')
Expand Down

0 comments on commit 91dc337

Please sign in to comment.