Test MangaDex again
This commit is contained in:
parent
ca2c0cd6ed
commit
420fde12b0
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs
|
||||||
# Copyright (C) 2012-2014 Bastian Kleineidam
|
# Copyright (C) 2012-2014 Bastian Kleineidam
|
||||||
# Copyright (C) 2015-2020 Tobias Gruetzmacher
|
# Copyright (C) 2015-2022 Tobias Gruetzmacher
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
@ -15,8 +15,7 @@ def get_test_scrapers():
|
||||||
"""Return scrapers that should be tested."""
|
"""Return scrapers that should be tested."""
|
||||||
if 'TESTALL' in os.environ:
|
if 'TESTALL' in os.environ:
|
||||||
# test all comics (this will take some time)
|
# test all comics (this will take some time)
|
||||||
# ignore mangadex for now (site is temporary down)
|
return scrapers.get()
|
||||||
scraper_pattern = '^(?!MangaDex)'
|
|
||||||
elif 'TESTCOMICS' in os.environ:
|
elif 'TESTCOMICS' in os.environ:
|
||||||
scraper_pattern = os.environ['TESTCOMICS']
|
scraper_pattern = os.environ['TESTCOMICS']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue