Open pyntox opened 3 years ago
If you've extracted m3u8 url from the browser, try adding --referer https://twitcasting.tv/
And I did another way.
curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36" https://twitcasting.tv/angelnano1004/movie/686822522 -c cookie.txt >/dev/null
curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36" https://twitcasting.tv/angelnano1004/movie/686822522 -b cookie.txt | gsed -n "/.*data-movie-playlist='/{s///;s/'$//;p;}" | jq -r ".\"2\"[0].source.url"
output: (changes every time)
https://dl01.twitcasting.tv/tc.vod/v/686822522.0.2-1624474988-1624503788-8e4e3a28-81eb8c2c030a7352/fmp4/index.m3u8
youtube-dl --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36" --referer https://twitcasting.tv/ -o "686822522.%(ext)s" https://dl01.twitcasting.tv/tc.vod/v/686822522.0.2-1624474988-1624503788-8e4e3a28-81eb8c2c030a7352/fmp4/index.m3u8
It was also possible to use fake cookie.
python -c "import uuid; print(uuid.uuid4().hex)"
output: (changes every time)
fda26e4110f54f0abf77f92761f2e49d
Use this value in the above #2. (as -b did=fda26e4110f54f0abf77f92761f2e49d
instead of -b cookie.txt
)
Checklist
Verbose log
Description
I checked other similar issues (https://github.com/yt-dlp/yt-dlp/issues/220 in particular) and tried these two commands (also with double quotes for the .m3u8 link):
Both of them led to "Error 502: Bad Gateway"
I also used this:
The video I'm trying to download is this one: https://twitcasting.tv/angelnano1004/movie/686822522