diff --git a/gallery_dl/extractor/paheal.py b/gallery_dl/extractor/paheal.py index d928ebd7..6152a93a 100644 --- a/gallery_dl/extractor/paheal.py +++ b/gallery_dl/extractor/paheal.py @@ -127,7 +127,7 @@ class PahealTagExtractor(PahealExtractor): } def _extract_data_ex(self, post): - pid = post[:post.index('"')] + pid = post[:post.index("'")] return self._extract_post(pid)