forked from ytdl-org/youtube-dl
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Release 2020.10.09 #177
Merged
Merged
Release 2020.10.09 #177
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
blackjack4494
commented
Oct 9, 2020
•
edited
Loading
edited
- [youtube] Update extraction of like/dislike count [youtube] Update extraction of like/dislike count #170 @RedpointsBots
- [youtube] Added 'subscriber_count' to extraction [youtube] Added 'subscriber_count' to extraction #172 @RedpointsBots
- [youtube] fix yt-only playback when age restricted/gated - requires cookies [youtube] fix yt-only playback when age restricted/gated - requires cookies #171 @blackjack4494
- [youtube] Fix yt search + feeds [youtube] Fix yt search + feeds #173 @xarantolus
- [Bandcamp] update - fix regexp for JSON matching [Bandcamp] update - fix regexp for JSON matching #150 @gilou
- [Mtv] [Mtvn] updated extractor logic & more [Mtv] updated extractor logic & more #176 @blackjack4494
- [youtube-dl] update master 07.10.2020 [youtube-dl] update master 07.10.2020 #155
This moves feed extraction from using html content to json metadata. However, loading additional pages no longer works. The _extract_video_info function also returns a continuation object that contains some metadata that - together with an API key that is in the page source - might be used to request the next page.
If an object looks like a video (it has a `videoId` key), assume that it is.
…change was reverted The old code now works again, but it downloads without limit. This is why a limit of 1000 videos is added, it can be overwritten with the `--max-downloads` option - that way, only so many ids will be extracted as videos downloaded
[ci skip]
In order to extract videos from further pages, we need to get various variables that are in an argument to the `ytcfg.set` call in a script on the feed page.
If the markup of the page changes in the future, it might be possible that _FEED_DATA still works, but the other regex does not. SInce it is not necessary for the first page of videos, we make sure the program doesn't exit before extracting them. TL;DR: Extract the first video page even if there are problems
Seems like this attribute is moved every few weeks, so we just extract both and use the one that is present.
This now supports declarations like `window["ytInitialData"] = ...` and `var ytInitialData = ...`
If an object looks like a video (it has a `videoId` key), assume that it is.
In order to extract videos from further pages, we need to get various variables that are in an argument to the `ytcfg.set` call in a script on the feed page.
…scape the title properly
…the URL to match the tracks
… artist - track, and add missing keys from info_dict
…data, including album titles
… may fail, as the other title json values might come up), instead of out of trackinfo, as bandcamp prefixes it with artist -
…edpointsBots/youtube-dl into RedpointsBots-bugfix_youtube_like_extraction
…tsBots/youtube-dl into RedpointsBots-feature_subscriber_count
[youtube] fix yt-only playback when age restricted/gated - requires cookies
[Mtv] updated extractor logic & more
…into xarantolus-fixYTSearch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.