Sfoglia il codice sorgente

[pornhub:uservideos] Add missing raise

Sergey M․ 8 anni fa
parent
commit
9edcdac90c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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