Git Product home page Git Product logo

Comments (6)

pukkandan avatar pukkandan commented on May 21, 2024 1

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.

pukkandan avatar pukkandan commented on May 21, 2024 1

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.

pukkandan avatar pukkandan commented on May 21, 2024

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.

undaunt avatar undaunt commented on May 21, 2024

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.

pukkandan avatar pukkandan commented on May 21, 2024

Close the issues once you have confirmed all data is being extracted correctly

from yt-dlp.

undaunt avatar undaunt commented on May 21, 2024

Length looks great!

from yt-dlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.