Closed blumberg closed 1 year ago
I'm having issues to download from yt-dlp.
yt-dlp
Looking around I found this issue https://github.com/yt-dlp/yt-dlp/issues/2396#issuecomment-1018262631 that introduces a workaround by adding a --user-agent facebookexternalhit/1.1 flag to yt-dlp.
--user-agent facebookexternalhit/1.1
As it worked on my side and I don't see an issue using it by default, I'm sending this PR.
I've introduced this flag using a new variable at the beginning, making it easier to alter or remove it in future if required.
I'm having issues to download from
yt-dlp
.Looking around I found this issue https://github.com/yt-dlp/yt-dlp/issues/2396#issuecomment-1018262631 that introduces a workaround by adding a
--user-agent facebookexternalhit/1.1
flag toyt-dlp
.As it worked on my side and I don't see an issue using it by default, I'm sending this PR.
I've introduced this flag using a new variable at the beginning, making it easier to alter or remove it in future if required.