Преглед изворни кода

[pornhub:uservideos] Add missing raise

Sergey M․ пре 8 година
родитељ
комит
9edcdac90c
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      youtube_dl/extractor/pornhub.py

+ 1 - 0
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