Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[Extractor Error] Getting extractor error when downloading videos from VIU. #26788
Comments
|
Well, you could try this for now. Make sure you have python installed on your sytem.
and then 3 Now go to extractor folder from the souce code "C:\bin\youtube-dl-2020.09.06\youtube_dl\extractor" and replace with the updated codes you saved.
cd C:\bin\youtube-dl-2020.09.06\youtube_dl
|
thank you. it's work but not working for premium videos like this. https://www.viu.com/ott/sg/en-us/vod/299246/Do-You-Like-Brahms how can i download this link? |
That's the changes from Viu. You'll need now premium token. On my personal tool that's what I did. |
|
I tried it now in my personal tool and I get the streams. but you'll need premium account. Here's what I've noticed @lkho @panda130 For SG url, sometimes you'll need to play first in your browser before trying to use youtube-dl. I don't know why, maybe it's required another cookies. And in that can case, the ccs api, must include identity into query to get the premium videos correctly. |
|
@lkho @panda130 |
i havent tool. what do i do? after get premium account how can i download like you? |
Just wait for @lkho or @panda130 to edit the viu to add the identity query. |
ok. i wait for them to send here |
|
Also I've noticed, when I changed the country code to PH. even the url is SG, URL: https://www.viu.com/ott/sg/en-us/vod/299246/Do-You-Like-Brahms API: Maybe that's the other way you can access the premium videos from your country. Because here's in PH. that given url is not premium that's why I can easily get the streams. |
|
@touchhyuk could you try use hola vpn on chrome and change the country to PH? |
|
well, for now just give me the url you want to download and I'll give you the m3u8 url and then you can download it via youtube-dl |
|
Here. (I used SG API with premium account) |
how can i use this? |
here: |
|
It's already 1080p so you don't need to specify the resolution |
|
or you can change to --hls-prefer--ffmpeg |
|
You can add also this commands: you can previe while downloading |
thank you. it's work fine |
Just wait until they update the source code. If I'm just good at python I can compile it for you. |
will need premium account after update source code? |
Yeah. but it's only required for the premium vidoes |
please teach me how get m3u8 |
Alright. here's the chrome extension that I modified. This is what I'm using before |
|
@zackmark29 @panda130 from my observations:
|
Oh I see. thanks for that. By the way, In my case. I don't think so if I still needed to login to get the token because I just found another way to download the premium videos with the preview but I just tried for ph url only. I thought the preview is only a trailer but still it's only have the limited duration. edit: I tried also for SG url without logging in and it worked by replacing duration from m3u8 url. But still needed to play first the video from url (for sg url only) |
|
By the way. I accidentally logout the account. You may login again |
|
something like this
|
|
@lkho |
this is what I did yesterday. but I think they will eventually block this also. so we better add the identity token properly to support premium videos. as previously I found that there are some videos that don't even allow previews. |
Yeah. I just did not remove the option to login just in case there will be an error. |
Do you still have the history from your browser the url that doesn't have previews? I'd like to see |
I can't find it currently, maybe they fixed the bug after I tried many times last week :P |
|
ok I've finished the login function.
however, @zackmark29 I can't reproduce the "needed to play from the browser first" scenario. I have always succeeded regardless of playing in browser or not. |
Oh nice! Yeah maybe in your country it doesn't needed. By the way, I just see that you also have a PR for the changing the duration. |
|
@zackmark29 i tested in both HK and SG, can't reproduce. |
can you provide the url I'll just gonna test |
|
i tested with many of the premium videos i can found on the website (SG), all can download successfully https://lkho.me/dl/private/github_oq8nm40fpz9al/2020-10-12%2000-45-19.mp4 |
Yeah I think only in PH that needed to play first in the browser (but this is not a problem anymore. I already fixed) In your video, did you still add the bypass for the duration? |
yes. that's why i need not to login ... |
Ah alright. so we already fixed everything. Yeah me too. I don't need to login anymore haha hopefully the bypass will always work. |
|
this is how it looks like if I don't use the duration hack: |
what does --netrc? |
|
because i don't want to show the credentials on screen, so i put it in a separate file. it's just the same as putting it in the command args. |
haha ah Ok. by the way. you can keep the credential that I included in the project file. |
|
The credentials will only work in that specific country, for me it is no use if I use it in HK |
Yeah only works for SG. it's only useful for your for testing purpose =D |
|
I am still so out of the loop. Damn sorry y'all |
are you still having problem with downloading? |
@zackmark29 @lkho If it is still merely awaiting compilation, any idea which of the contributors is coordinating that? Will be happy to lend a voice to urge action. |
|
the corresponding PR is here #26775 |
It's already fixed the bugs. I think it's just pending for compilation. |
Just hoping to see a new update soon. I am not so good with technical stuff :( |

Checklist
Verbose log
Description
This doesn't require any credentials so it is easy to duplicate. I am running Windows 10 and youtube-dl.exe and have begun seeing this error for about 1 week now. I am unsure as to myself doing anything wrong as I am doing the same as I did earlier when it used to work. Any help regarding this issue will be really great.