logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 9edcdac90cc871e6d6e497dc0fb099e40b99ff02
parent cd138d8bd44ad9845453f7a7fa945f9740425809
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  4 Jun 2017 20:39:55 +0700

[pornhub:uservideos] Add missing raise

Diffstat:

Myoutube_dl/extractor/pornhub.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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