From: Sergey M․ Date: Sun, 4 Jun 2017 13:39:55 +0000 (+0700) Subject: [pornhub:uservideos] Add missing raise X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9edcdac90cc871e6d6e497dc0fb099e40b99ff02;p=youtube-dl [pornhub:uservideos] Add missing raise --- diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index d90c6ce1a..e032817f2 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -299,6 +299,7 @@ class PornHubUserVideosIE(PornHubPlaylistBaseIE): except ExtractorError as e: if isinstance(e.cause, compat_HTTPError) and e.cause.code == 404: break + raise page_entries = self._extract_entries(webpage) if not page_entries: break