Skip to content

Commit

Permalink
remove intentional raises
Browse files Browse the repository at this point in the history
  • Loading branch information
grqz authored Sep 15, 2024
1 parent 44a6a18 commit 535a213
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def _validate_get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data
f'Please ensure they are on the same version. '
f'(plugin: {self.VERSION}, server: {response.get("version", "unknown")})',
once=True)
raise UnsupportedRequest
self.base_url = base_url

def _get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data_sync_id=None, player_url=None, **kwargs) -> str:
Expand Down
1 change: 0 additions & 1 deletion plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def _validate_get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data
'Incorrect script passed to extractor args. Path to generate_once.js required')
if shutil.which('node') is None:
raise UnsupportedRequest('node is not in PATH')
raise UnsupportedRequest
self.script_path = script_path

def _get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data_sync_id=None, player_url=None, **kwargs) -> str:
Expand Down

0 comments on commit 535a213

Please sign in to comment.