Coder Social home page Coder Social logo

yt-pandas-dlp's Introduction

yt-pandas-dlp

What if yt-dlp could create spreadsheets

@ozaki: Hello i've been using a website to backup my playlist but it doens't seems to work anymore so i wanted to go on using yt-dlp for this. the backup i used was looking like this and i want to achieve something similar i don't care about some columns like the description and it would be cool to have it in a csv / excel /table format else a json will do the trick

@IsaacKoi I'm also trying to produce a spreadsheet with columns like channel, webpage URL, upload date, title and description. I've previously used an online tool but for various reasons would now prefer to use yt-dlp (basically, to have a bit more control and ability to tweak things). I've managed to output the data I want from yt-dlp as both csv files and as json filesy fiddly issues importing some of the data into spreadsheets.

How to use it

  • Find some youtube channel, say https://www.youtube.com/@MickWest/videos
  • Create folder MickWest to store *.json and *.srt
  • cd MickWest
  • yt-dlp --write-info-json --write-auto-sub --sub-langs en --write-subs --convert-subs srt --skip-download https://www.youtube.com/@MickWest/videos
  • cd ..
  • python json2xlsx.py MickWest
  • Find two generated files, MickWest/Mick West - Videos.cvs and MickWest/Mick West - Videos.xlsx

Known issues

  • I need to actually test it in Windows
  • =HYPERLINK may be broken (or not?)

yt-pandas-dlp's People

Contributors

sheerluck avatar

Watchers

 avatar

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.