-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please support dzen.ru quickly #32654
Comments
Please review and complete the checklist (why is it there?). The non-JS page seen by yt-dl contains a gigantic hydration JSON object as a parameter of a JS function that defines the page. Video links can be extracted using the traversal path |
I have no experience in understanding these matters, but I hope that you will support downloading from this site, as it is a strong competitor to ok.ru and vk.com. |
I encourage someone who's interested to take this up. Otherwise it's at the end of a long queue. |
Hi, can I work on this issue as my first contribution to youtube-dl? |
By all means. Are you happy that you know what to do? See #29310 in addition to the manual and FAQ. |
note this uBlock Origin rule is needed for the web client:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
There's no PR yet. Unless we hear otherwise, carry on. |
Hi, I'm working on this right now but was wondering if there's a certain way we should handle redirects and how you got the page downloaded, @dirkf? I'm running into an issue where it hits these two URL's before the final webpage with the video and JSON object:
So the |
Hm looking at some other issues actually, seems like this could be bypassed by grabbing the cookies after visiting those URL's |
Exactly. I found that I could just download the second problem video and find the media link. Looking at the first one, it seems to go to the SSO link that you mention, presumably because it needs a login. So the first thing to try is passing cookies from a logged-in browser session that can play that video. Getting |
@dirkf |
No-one has reported any further progress: have a go. Per #29724 (comment) and linked issue #29310, make sure to review the base class ( |
@Debojit-0 I previously made an attempt at implementing this extractor, please feel free to use my code here if you find it helpful. |
And were you able to resolve it ? |
Unfortunately no. But I think it's a good start. |
Ok fair enough its a good start for me as well as I am still in learning phase 🙂 |
Checklist
Example URLs
Description
It is a very popular Russian site and needed to be supported
The text was updated successfully, but these errors were encountered: