Closed x955199 closed 4 years ago
@dstftw I saw your comment, but not sure if there is a solution for it?
UPDATE: works on my machine with Python 3.7, maybe an issue within google cloud function?
this is fairly easy to replicate. why is it closed?
Checklist
Verbose log
Description
Getting this error when running in a google cloud function with Python 3.7, the code works when I run it on my local machine with Python 2.X. My Code:
This issue was reported before here https://github.com/ytdl-org/youtube-dl/issues/22549, but reporting again since I believe it is still happening. After looking into it for a little bit, it seems like for Python 2.x it works cause there is a special condition for it. Not sure what is the expected behavior for Python 3.7.
https://github.com/ytdl-org/youtube-dl/blob/75294a5ed03f4443970478f3f4eac572239cec45/youtube_dl/utils.py#L3096