[ManyVids] Support new single-page app structure
authordirkf <fieldhouse@gmx.net>
Thu, 13 Oct 2022 02:42:49 +0000 (02:42 +0000)
committerGitHub <noreply@github.com>
Thu, 13 Oct 2022 02:42:49 +0000 (02:42 +0000)
youtube_dl/extractor/manyvids.py

index 608a02a8d782877f05aa5cf48e2e385748c49b82..75978cfd6974889fbb1349e7d0d6edc74e3a6448 100644 (file)
@@ -50,7 +50,7 @@ class ManyVidsIE(InfoExtractor):
         real_url = 'https://www.manyvids.com/video/%s/gtm.js' % (video_id, )
         try:
             webpage = self._download_webpage(real_url, video_id)
-        except:
+        except Exception:
             # probably useless fallback
             webpage = self._download_webpage(url, video_id)