Rename Tapastic to Tapas

The site is know just as "Tapas" since longer then Dosage has support
for it. Since the module was merged just recently, this rename shouldn't
affect many users...
This commit is contained in:
Tobias Gruetzmacher 2022-06-06 01:54:22 +02:00
parent fb4788414b
commit 1d9b74bd66
4 changed files with 6 additions and 6 deletions

View file

@ -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'

View file

@ -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"

View file

@ -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()

View file

@ -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"