diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d7664d..9d9461c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +* [v2.61.0](https://github.com/a4k-openproject/a4kScrapers/releases/tag/a4kScrapers-2.61.0): + * add 7torrents + * exclude more keywords for movie titles + * remove dead url for extratorrent + * sort solidtorrents by size + * [v2.60.0](https://github.com/a4k-openproject/a4kScrapers/releases/tag/a4kScrapers-2.60.0): * allow only movie results where the expected title is followed by the expected year * add additional check if the movie result is actually an episode diff --git a/meta.json b/meta.json index ad95e7e..40d5165 100644 --- a/meta.json +++ b/meta.json @@ -1,6 +1,6 @@ { "author": "Unknown", - "version":"2.60.0", + "version":"2.61.0", "name":"a4kScrapers", "update_directory": "https://github.com/a4k-openproject/a4kScrapers/archive/", "remote_meta": "https://raw.githubusercontent.com/newt-sc/a4kScrapers/master/meta.json", diff --git a/providerModules/a4kScrapers/scrapers.py b/providerModules/a4kScrapers/scrapers.py index a2ca802..aa4cf77 100644 --- a/providerModules/a4kScrapers/scrapers.py +++ b/providerModules/a4kScrapers/scrapers.py @@ -25,6 +25,9 @@ def __init__(self, title): def _parse_rows(self, response, row_tag): results = [] + if row_tag not in response: + return results + rows = response.split(row_tag) for row in rows: torrent = self._parse_torrent(row, row_tag) @@ -110,10 +113,11 @@ def soup_filter(self, response): response = normalize(response.text) return ( + self._parse_rows(response, row_tag='