Tried to download this link on Streamfab: https://go.discovery.com/video/exped...he-pirate-king
Get this error: expected string or bytes-like object
Tried using yt-dlp
Get this error:
C:\Temp>yt-dlp --cookies-from-browser chrome https://go.discovery.com/video/exped...he-pirate-king
[Cookies] Extracting cookies from chrome
Traceback (most recent call last):
File "yt_dlp\__main__.py", line 17, in <module>
File "yt_dlp\__init__.py", line 967, in main
File "yt_dlp\__init__.py", line 927, in _real_main
File "yt_dlp\YoutubeDL.py", line 740, in __init__
File "yt_dlp\YoutubeDL.py", line 3871, in _setup_opener
File "yt_dlp\cookies.py", line 99, in load_cookies
File "yt_dlp\cookies.py", line 120, in extract_cookies_from_browser
File "yt_dlp\cookies.py", line 289, in _extract_chrome_cookies
File "yt_dlp\cookies.py", line 952, in _open_database_copy
File "shutil.py", line 418, in copy
File "shutil.py", line 264, in copyfile
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\mgk32\\AppData\\Local\\Google\\Chrome\ \User Data\\Default\\Network\\Cookies'
[13892] Failed to execute script '__main__' due to unhandled exception!
Tried different browsers.
Deleted cookies, cache and temp
Uninstalled and reinstalled Chrome
None of the above fixed the problem
I was however able to use yt-dlp on another computer I have and it works fine.
Any help/suggestions would be appreciated.
Thanks!
Get this error: expected string or bytes-like object
Tried using yt-dlp
Get this error:
C:\Temp>yt-dlp --cookies-from-browser chrome https://go.discovery.com/video/exped...he-pirate-king
[Cookies] Extracting cookies from chrome
Traceback (most recent call last):
File "yt_dlp\__main__.py", line 17, in <module>
File "yt_dlp\__init__.py", line 967, in main
File "yt_dlp\__init__.py", line 927, in _real_main
File "yt_dlp\YoutubeDL.py", line 740, in __init__
File "yt_dlp\YoutubeDL.py", line 3871, in _setup_opener
File "yt_dlp\cookies.py", line 99, in load_cookies
File "yt_dlp\cookies.py", line 120, in extract_cookies_from_browser
File "yt_dlp\cookies.py", line 289, in _extract_chrome_cookies
File "yt_dlp\cookies.py", line 952, in _open_database_copy
File "shutil.py", line 418, in copy
File "shutil.py", line 264, in copyfile
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\mgk32\\AppData\\Local\\Google\\Chrome\ \User Data\\Default\\Network\\Cookies'
[13892] Failed to execute script '__main__' due to unhandled exception!
Tried different browsers.
Deleted cookies, cache and temp
Uninstalled and reinstalled Chrome
None of the above fixed the problem
I was however able to use yt-dlp on another computer I have and it works fine.
Any help/suggestions would be appreciated.
Thanks!
Comment