Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
style: sort parameters by name
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension committed Nov 6, 2023
1 parent f163dd1 commit 72b848a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Contents/Code/youtube_dl_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ def process_youtube(url):
"""
youtube_dl_params = dict(
logger=plugin_logger,
verbose=True,
socket_timeout=10,
outtmpl=u'%(id)s.%(ext)s',
youtube_include_dash_manifest=False,
username=Prefs['str_youtube_user'] if Prefs['str_youtube_user'] else None,
password=Prefs['str_youtube_passwd'] if Prefs['str_youtube_passwd'] else None,
socket_timeout=10,
username=Prefs['str_youtube_user'] if Prefs['str_youtube_user'] else None,
verbose=True,
youtube_include_dash_manifest=False,
)

ydl = youtube_dl.YoutubeDL(params=youtube_dl_params)
Expand Down

0 comments on commit 72b848a

Please sign in to comment.