Skip to content

Commit

Permalink
release: v2.86.0
Browse files Browse the repository at this point in the history
  • Loading branch information
newt-sc committed May 23, 2024
1 parent f95c081 commit 11c7dca
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 31 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* [v2.86.0](https://github.com/a4k-openproject/a4kScrapers/releases/tag/a4kScrapers-2.86.0):
* remove anirena and glo

* [v2.85.0](https://github.com/a4k-openproject/a4kScrapers/releases/tag/a4kScrapers-2.85.0):
* fix torrentio-elfhosted
* add piratebay uhd categories
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.85.0",
"version":"2.86.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
5 changes: 4 additions & 1 deletion providerModules/a4kScrapers/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ def _request_core(self, request, sequental = None, cf_retries=3):
if 'PreemptiveCancellation' in exc:
raise Exception("PreemptiveCancellation")

if 'Detected the new Cloudflare challenge.' in exc and cf_retries > 0 and self.request_time < 2:
if cf_retries <= 0:
return response_err

if 'Detected the new Cloudflare challenge.' in exc and self.request_time < 2:
cf_retries -= 1
tools.log('cf_new_challenge_retry: %s' % request.url, 'notice')
return self._request_core(request, sequental, cf_retries)
Expand Down
17 changes: 2 additions & 15 deletions providerModules/a4kScrapers/urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"trackers": {
"cached": { "search": "", "domains": [{ "base": "" }] },
"-7torrents": { "search": "", "domains": [{ "base": "" }] },
"anirena": {
"search": "/?s=%s",
"domains": [
{ "base": "https://www.anirena.com" }
]
},
"-anirena": { "search": "", "domains": [{ "base": "" }] },
"bitlord": {
"search": "/get_list",
"domains": [
Expand Down Expand Up @@ -37,15 +32,7 @@
{ "base": "https://eztv.li" }
]
},
"glo": {
"search": "/search_results.php?search=%s&cat={{category}}&incldead=0&inclexternal=0&lang=1&sort=seeders&order=desc",
"cat_movie": "1",
"cat_episode": "41",
"domains": [
{ "base": "https://glodls.to" },
{ "base": "https://gtdb.to" }
]
},
"-glo": { "search": "", "domains": [{ "base": "" }] },
"kickass": {
"search": "/usearch/%s category:{{category}}/",
"cat_movie": "movies",
Expand Down
7 changes: 0 additions & 7 deletions providers/a4kScrapers/en/torrent/anirena.py

This file was deleted.

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

This file was deleted.

0 comments on commit 11c7dca

Please sign in to comment.