Comments (6)
I am trying to expand the playlist metadata ro contain more fields such as thumbnail, likes etc. I will check if it is possible to fix this and #48 when I work on that.
from yt-dlp.
I haven't touched video metadata (except adding back the channel
field which has been broken for a while). So the huge format information is not related to this patch. The patch focuses on playlist/channel data
from yt-dlp.
Check out the latest master.
The thumbnail extraction for playlists will sometimes fail, but honestly, I am not very interested in fixing it
Playlist
{
"_type": "playlist",
"uploader": "pukkandan",
"uploader_id": "UCKcqXmCcyqnhgpA5P0oHH_Q",
"uploader_url": "https://www.youtube.com/channel/UCKcqXmCcyqnhgpA5P0oHH_Q",
"thumbnails": [
{
"url": "https://i.ytimg.com/img/no_thumbnail.jpg",
"width": 120,
"height": 90
},
{
"url": "https://i.ytimg.com/img/no_thumbnail.jpg",
"width": 320,
"height": 180
},
{
"url": "https://i.ytimg.com/img/no_thumbnail.jpg",
"width": 480,
"height": 360
}
],
"tags": [],
"channel": "pukkandan",
"channel_id": "UCKcqXmCcyqnhgpA5P0oHH_Q",
"channel_url": "https://www.youtube.com/channel/UCKcqXmCcyqnhgpA5P0oHH_Q",
"id": "PLx-_-Kk4c89rJQdvDiI_EOstdo4Os4Zjh",
"title": "test",
"description": "Empty playlist with very long description for testing yt-dlp. \n\nqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwertyqwerty\n\nDONE",
"extractor": "youtube:tab",
"webpage_url": "https://www.youtube.com/playlist?list=PLx-_-Kk4c89rJQdvDiI_EOstdo4Os4Zjh",
"duration_string": null, // Will be removed by PR #45
"webpage_url_basename": "playlist",
"extractor_key": "YoutubeTab"
}
Channel
{
"_type": "playlist",
"uploader": "The Glass Cannon Network",
"uploader_id": "UC83CJFLyDe72XgkKBd5a9IA",
"uploader_url": "https://www.youtube.com/channel/UC83CJFLyDe72XgkKBd5a9IA",
"thumbnails": [
{
"url": "https://yt3.ggpht.com/ytc/AAUvwnhPOln7N6iokDhmfJV_ok_ahFZJ0FX-uCDgf5i_lg=s900-c-k-c0x00ffffff-no-rj",
"width": 900,
"height": 900
}
],
"tags": [
"pathfinderrpg",
"starfinderrpg",
"dnd",
"dungeonsanddragons",
"dandd",
"tabletoprpg",
"ttrpg",
"troylavallee",
"joeobrien",
"skidmaher",
"grantberger",
"matthewcapodicasa"
],
"channel": "The Glass Cannon Network",
"channel_id": "UC83CJFLyDe72XgkKBd5a9IA",
"channel_url": "https://www.youtube.com/channel/UC83CJFLyDe72XgkKBd5a9IA",
"id": "UC83CJFLyDe72XgkKBd5a9IA",
"title": "The Glass Cannon Network - Playlists",
"description": "In the spirit of old school Dungeons and Dragons, a collection of five super-nerds (Joe O'Brien, Grant Berger, Matthew Capodicasa, Skid Maher, and Gamemaster Troy Lavallee) emerge blinking from their parents' basements to engage in an Actual Play campaign of Paizo's epic new adventure path, Giantslayer! Foes will be vanquished, beers will be dranken, and characters will almost certainly f**cking die.\n\nNow you can watch these same idiots play video games on this YouTube channel!\n\nBecome a supporter of the podcast at our Patreon page: http://www.patreon.com/glasscannon\nYou can help us unlock goals for the future while unlocking fun GCP exclusive rewards for yourself!",
"extractor": "youtube:tab",
"webpage_url": "https://www.youtube.com/channel/UC83CJFLyDe72XgkKBd5a9IA/playlists",
"duration_string": null, // Will be removed by PR #45
"webpage_url_basename": "playlists",
"extractor_key": "YoutubeTab"
}
from yt-dlp.
I'm checking this out right now, looks awesome. I'm looking at episode/playlist/channel level JSONs from a playlist URL call and episode/channel from a channel URL call. One thing that jumped out right out of the gate is episode 001's JSON file pulls some crazy format information and created a 943KB file.
EDIT: Must just be a weird episode, disregard. Will continue to test.
from yt-dlp.
Close the issues once you have confirmed all data is being extracted correctly
from yt-dlp.
Length looks great!
from yt-dlp.
Related Issues (20)
- Produce json output when a live content is upcoming or offline, communicating as such HOT 9
- [ThePlatform] [CWTV] - This format is DRM protected HOT 2
- [NoodleMagazine] Unable to extract player path
- TubiTV.com gives Unauthorized on all downloads HOT 5
- yt-dlp do not working with drm files from WOWPRESENTSPLUS HOT 1
- How do I remux video to a different format Using the Python yt-dlp invocation? HOT 1
- BBC News fails with "Unable to extract playlist data" error HOT 5
- yt-dlp --write-subs --sub-lang "live_chat" on a Live stream is always Top Chat
- Different response to --output, in two different situations HOT 5
- 3speak broken HOT 1
- PhantomJS is unmaintained HOT 1
- X/Twitter video URLs no longer work HOT 1
- Add options to prevent download if sponsorblock entry not found HOT 1
- 6play.fr No video formats found HOT 1
- FFMPEG Convertion failed HOT 2
- yt-dlp cannot download video using its id code: no such option: -0. How i can do it? HOT 5
- Proposal: Embed JSON subtitles as file attachments HOT 3
- `ERROR: url must be a string` when using youtube `player_client=all` extractor-arg HOT 1
- yt-dlp001
- Is it possible to output the archive file of a playlist with this syntax: "%(playlist_title)s/downloaded_archive.txt" HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp.