We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46516fc commit 8e18b69Copy full SHA for 8e18b69
PythonRpcServer/youtube.py
@@ -70,8 +70,8 @@ def get_youtube_playlist(self, identifier):
70
'force_generic_extractor': True,
71
}
72
medias = []
73
- # Current time in YYYYMMDD format
74
- now = datetime.datetime.now().strftime('%Y%m%d')
+ # Current time in iso date time format
+ now = datetime.datetime.now().isoformat()
75
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
76
info_dict = ydl.extract_info(url, download=False)
77
for entry in info_dict.get( 'entries', []):
0 commit comments