summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/webtoons.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/webtoons.py')
-rw-r--r--gallery_dl/extractor/webtoons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/webtoons.py b/gallery_dl/extractor/webtoons.py
index 59f46f0..8a22fcb 100644
--- a/gallery_dl/extractor/webtoons.py
+++ b/gallery_dl/extractor/webtoons.py
@@ -169,7 +169,7 @@ class WebtoonsComicExtractor(WebtoonsBase, Extractor):
@staticmethod
def get_episode_urls(page):
"""Extract and return all episode urls in 'page'"""
- page = text.extract(page, 'id="_listUl"', '</ul>')[0]
+ page = text.extr(page, 'id="_listUl"', '</ul>')
return [
match.group(0)
for match in WebtoonsEpisodeExtractor.pattern.finditer(page)