diff --git a/dosagelib/plugins/tapastic.py b/dosagelib/plugins/tapas.py similarity index 96% rename from dosagelib/plugins/tapastic.py rename to dosagelib/plugins/tapas.py index be08cdd4f..be860621b 100644 --- a/dosagelib/plugins/tapastic.py +++ b/dosagelib/plugins/tapas.py @@ -4,7 +4,7 @@ from ..scraper import _ParserScraper -class Tapastic(_ParserScraper): +class Tapas(_ParserScraper): baseUrl = 'https://tapas.io/' imageSearch = '//article[contains(@class, "js-episode-article")]//img/@data-src' prevSearch = '//a[contains(@class, "js-prev-ep-btn")]' @@ -12,7 +12,7 @@ class Tapastic(_ParserScraper): multipleImagesPerStrip = True def __init__(self, name, url): - super(Tapastic, self).__init__('Tapastic/' + name) + super().__init__('Tapas/' + name) self.url = self.baseUrl + 'series/' + url + '/info' self.stripUrl = self.baseUrl + 'episode/%s' diff --git a/scripts/generate_json.sh b/scripts/generate_json.sh index 7ed034573..45bba58af 100755 --- a/scripts/generate_json.sh +++ b/scripts/generate_json.sh @@ -9,7 +9,7 @@ d=$(dirname $0) if [ $# -ge 1 ]; then list="$*" else - list="arcamax comicfury comicgenesis comicskingdom creators gocomics keenspot tapastic webcomicfactory" + list="arcamax comicfury comicgenesis comicskingdom creators gocomics keenspot tapas webcomicfactory" fi for script in $list; do echo "Executing ${script}.py" diff --git a/scripts/tapastic.py b/scripts/tapas.py similarity index 93% rename from scripts/tapastic.py rename to scripts/tapas.py index 35351c660..bc3dd15d6 100644 --- a/scripts/tapastic.py +++ b/scripts/tapas.py @@ -11,7 +11,7 @@ from urllib.parse import urlsplit, parse_qs from scriptutil import ComicListUpdater -class TapasticUpdater(ComicListUpdater): +class TapasUpdater(ComicListUpdater): def collect_results(self): # Retrieve the first 10 top comics list pages url = 'https://tapas.io/comics?browse=ALL&sort_type=LIKE&pageNumber=' @@ -32,4 +32,4 @@ class TapasticUpdater(ComicListUpdater): if __name__ == '__main__': - TapasticUpdater(__file__).run() + TapasUpdater(__file__).run() diff --git a/scripts/update_plugins.sh b/scripts/update_plugins.sh index 3c4c627c0..c7d3621dd 100755 --- a/scripts/update_plugins.sh +++ b/scripts/update_plugins.sh @@ -11,7 +11,7 @@ d=$(dirname $0) if [ $# -ge 1 ]; then list="$*" else - list="arcamax comicfury comicgenesis comicskingdom creators gocomics keenspot tapastic webcomicfactory" + list="arcamax comicfury comicgenesis comicskingdom creators gocomics keenspot tapas webcomicfactory" fi for script in $list; do target="${d}/../dosagelib/plugins/${script}.py"