Skip to content

Commit

Permalink
fix typo in function names
Browse files Browse the repository at this point in the history
`preference`
  • Loading branch information
grqz authored Sep 11, 2024
1 parent 1b5c5c2 commit f751c7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ def _get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data_sync_id=
return response_json['po_token']

@register_preference(BgUtilHTTPPotProviderRH)
def bgutil_HTTP_getpot_peference(rh, request):
def bgutil_HTTP_getpot_preference(rh, request):
return 0
2 changes: 1 addition & 1 deletion plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ def _get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data_sync_id=
f'Error parsing JSON response from _get_pot_via_script (caused by {str(e)})')

@register_preference(BgUtilScriptPotProviderRH)
def bgutil_script_getpot_peference(rh, request):
def bgutil_script_getpot_preference(rh, request):
return 100

0 comments on commit f751c7f

Please sign in to comment.