VideoHelp Forum
+ Reply to Thread
Results 1 to 17 of 17
Thread
  1. Hello everybody. I've been trying to download video from this site for 2 days, but I can't. I've tried several ways with yt-dlp but the video doesn't download. Only "HTTP Error 401: Unauthorized"

    Can someone help me please?

    I tried using cookies, tried to force the generic extractor I used the m3u8 link without the token and nothing!

    The video plays normally in the browser, but I can't download it. It is a free video does not have drm.

    Code:
    https://www.redetv.uol.com.br/videos/encrenca/assista-a-integra-do-encrenca-de-21-de-janeiro-de-2018
    Quote Quote  
  2. Code:
    https://video21.mais.uol.com.br/16382775.mp4?token=twBnAo2Nu03Rcoa6ial64vPEr3sSfy6S&sign=MEUCIDT6Ipvh8P3Gi7n20jMDIVo_NrJlKitp6jPYaGioVHuxAiEAppsbUSDPjT0Lk8yGfhffgSS3qnkJhnGYjF7Kl2PA32M&ver=2&r=https://player.mais.uol.com.br&hashId=t1yxx1eoux1655173566761ntowcum8y8g4288
    Quote Quote  
  3. Thanks for helping.

    I used this link, but the content is 360p and not 720p that it has in m3u8. Is there any way to get 720p content?

    Quote Quote  
  4. play the video in browser - find a request to a ts file
    eg.
    Code:
    https://video21.mais.uol.com.br/16382775-10-40.ts?token=w3............
    copy that full link address including all query parameters
    change "16382775-10-40.ts" to "16382775-10-80.ts"
    in the request headers copy the cookie.
    send a curl request
    Code:
    curl "https://video21.mais.uol.com.br/16382775-10-80.ts?token=w3............" -H "Cookie: DNA=884585cdcascac83v8dvs39395|18140731343|true" -o video.ts
    or you can use yt-dlp
    Code:
    yt-dlp "https://video21.mais.uol.com.br/16382775-10-80.ts?token=w3............" --add-header "Cookie: DNA=884585cdcascac83v8dvs39395|18140731343|true"
    Quote Quote  
  5. Originally Posted by ElCap View Post
    play the video in browser - find a request to a ts file
    eg.
    Code:
    https://video21.mais.uol.com.br/16382775-10-40.ts?token=w3............
    copy that full link address including all query parameters
    change "16382775-10-40.ts" to "16382775-10-80.ts"
    in the request headers copy the cookie.
    send a curl request
    Code:
    curl "https://video21.mais.uol.com.br/16382775-10-80.ts?token=w3............" -H "Cookie: DNA=884585cdcascac83v8dvs39395|18140731343|true" -o video.ts
    or you can use yt-dlp
    Code:
    yt-dlp "https://video21.mais.uol.com.br/16382775-10-80.ts?token=w3............" --add-header "Cookie: DNA=884585cdcascac83v8dvs39395|18140731343|true"
    It worked, thank you very much!

    Does this apply to any video that has the same problem? even from another site?
    Quote Quote  
  6. Originally Posted by SrBills View Post
    Does this apply to any video that has the same problem? even from another site?
    maybe.....
    the issue with this site/asset is that the m3u8 lists the filename (eg. 16382775-10-80.ts) but doesnt have the query string that is needed for authentication.
    so when yt-dlp or another downloader reads the m3u8 it is not aware that it needs the query string for it to work.
    the sites player is configured to append the query string to all requests so thats why it works on the site.
    Quote Quote  
  7. youtube-dl "https://video21.mais.uol.com.br/16382775-10-8
    0.ts?token=8Yuh-ElD7S94hqvcCr_a8PPEr3sSfy6S&sign=MEUCIFIm1l0XYNcpE MMlTTCk1SdQLjI3QGjbyAhzUO6zpu5
    fAiEAu7zRn32q6UDhoOjs3N05MTlIO2WY2Q7eVvhC4amkbcU&v er=2&r=https://player.mais.uol.com.br&hashId=i
    w30yefgo1unh1655201838989gc19wpw8j2grt6746" -o video.ts
    [generic] player.mais.uol.com: Requesting header
    [download] Destination: video.ts
    [download] 2.5% of 245.11MiB at 235.54KiB/s ETA 17:19 ...
    Quote Quote  
  8. Oh, no cookie needed?
    Interesting.
    Quote Quote  
  9. mmm IDM? it requires login ... without login is "HTTP Error 401: Unauthorized" same as post#1

    Image
    [Attachment 65394 - Click to enlarge]
    Quote Quote  
  10. URL: "https://video21.mais.uol.com.br/16382775-10-8
    0.ts?token=xxxxxx......"
    Quote Quote  
  11. ah ok. yes now work also with IDM

    thank you LZAA for your detail
    Quote Quote  
  12. Originally Posted by ElCap View Post
    Oh, no cookie needed?
    Interesting.
    Looks like youtube-dl is back into business and this time they are serious!
    Quote Quote  
  13. Originally Posted by ElCap View Post
    Originally Posted by SrBills View Post
    Does this apply to any video that has the same problem? even from another site?
    maybe.....
    the issue with this site/asset is that the m3u8 lists the filename (eg. 16382775-10-80.ts) but doesnt have the query string that is needed for authentication.
    so when yt-dlp or another downloader reads the m3u8 it is not aware that it needs the query string for it to work.
    the sites player is configured to append the query string to all requests so thats why it works on the site.
    I understood. Thanks!
    Quote Quote  
  14. Originally Posted by LZAA View Post
    youtube-dl "https://video21.mais.uol.com.br/16382775-10-8
    0.ts?token=8Yuh-ElD7S94hqvcCr_a8PPEr3sSfy6S&sign=MEUCIFIm1l0XYNcpE MMlTTCk1SdQLjI3QGjbyAhzUO6zpu5
    fAiEAu7zRn32q6UDhoOjs3N05MTlIO2WY2Q7eVvhC4amkbcU&v er=2&r=https://player.mais.uol.com.br&hashId=i
    w30yefgo1unh1655201838989gc19wpw8j2grt6746" -o video.ts
    [generic] player.mais.uol.com: Requesting header
    [download] Destination: video.ts
    [download] 2.5% of 245.11MiB at 235.54KiB/s ETA 17:19 ...
    I tried this before, but the video that came was 360p. In addition, the video did not have the size shown, but 1gb+ The download only stopped when the percentage reached 1000%

    Anyway, thanks everyone!
    Quote Quote  
  15. what do you say??

    from link posted by LZZA on post#11, the video res is 720p

    Code:
    https://video21.mais.uol.com.br/16382775-10-80.ts?token=km7BEnvtjwCFOx42ItrgvvPEr3sSfy6S&sign=MEQCIAhRZZjWa-XM7H8L_FM2lVL6k3sdvrTRJJvCOXn7z4w8AiBEV7OYg0YIkYnOeJSGYw8r7gnLQAOEB_36-abU2SQkiw&ver=2&r=https://player.mais.uol.com.br&hashId=3ligwqywrap1655278749074f45npw90snd179
    is same at your download (245.11 MB) but res is 720p ...

    Image
    [Attachment 65423 - Click to enlarge]
    Quote Quote  
  16. Originally Posted by lomero View Post
    what do you say??

    from link posted by LZZA on post#11, the video res is 720p

    Code:
    https://video21.mais.uol.com.br/16382775-10-80.ts?token=km7BEnvtjwCFOx42ItrgvvPEr3sSfy6S&sign=MEQCIAhRZZjWa-XM7H8L_FM2lVL6k3sdvrTRJJvCOXn7z4w8AiBEV7OYg0YIkYnOeJSGYw8r7gnLQAOEB_36-abU2SQkiw&ver=2&r=https://player.mais.uol.com.br&hashId=3ligwqywrap1655278749074f45npw90snd179
    is same at your download (245.11 MB) but res is 720p ...

    Image
    [Attachment 65423 - Click to enlarge]
    Yes, his is, but what I had tried before creating the topic, it only came in 360p. and somehow the download reached 1000% and not 100%. Maybe a yt-dlp bug
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!