mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.64k stars 124 forks source link

[newb query] grab multiple yt playlists & their links? #431

Closed J-HS-L closed 2 months ago

J-HS-L commented 2 months ago

I have ~80-odd yt playlists, some with just a few links, others with many hundreds.

I'm not wanting to d'load the actual video files, just the urls & video titles. Perhaps some other meta-data too, but this is secondary to the aforementioned.

Does this tool offer a nice gui to extract/export all of this into x format/file(s)? I believe what I want, is possible with yt-dlp, but it's a bit unfriendly for the avg user.

Ultimately, I'm migrating all of it to my "second brain" in OneNote...

Most Appreciatively, jug

mhogomchungu commented 2 months ago

The application can load a playlist using its "playlist downloader" tab as seen in the image below. As the image below show, there is a context menu that has an option to save the list to a file. If you save the file with the default extension of ".json", saved data in the file will look like what is below the picture below, if you change the extension to something else like ".txt" then only urls will be saved.

Screenshot_20240803_155039

[
    {
        "downloadExtraOptions": "",
        "downloadOptions": "",
        "duration": "00:05:33",
        "engineName": "",
        "runningState": "Not Started",
        "title": "Terence Crawford previews Madrimov fight, talks weight for potential Canelo showdown | SportsCenter",
        "upload_date": "Sat Aug 3 2024",
        "uploader": "ESPN",
        "url": "https://www.youtube.com/watch?v=VBLib5QJhVY"
    },
    {
        "downloadExtraOptions": "",
        "downloadOptions": "",
        "duration": "00:07:20",
        "engineName": "",
        "runningState": "Not Started",
        "title": "Perk has no concerns about Team USA: They’re like Beyonce, FLAWLESS! | NBA Today",
        "upload_date": "Fri Aug 2 2024",
        "uploader": "ESPN",
        "url": "https://www.youtube.com/watch?v=lxaqwPwEJI0"
    },
    {
        "downloadExtraOptions": "",
        "downloadOptions": "",
        "duration": "00:05:48",
        "engineName": "",
        "runningState": "Not Started",
        "title": "Kendrick Perkins provides his SHOCKING BEST Team USA 5-man lineup 👀 | NBA Today",
        "upload_date": "Fri Aug 2 2024",
        "uploader": "ESPN",
        "url": "https://www.youtube.com/watch?v=fmXIpLN7-ag"
    },
    {
        "downloadExtraOptions": "",
        "downloadOptions": "",
        "duration": "00:26:59",
        "engineName": "",
        "runningState": "Not Started",
        "title": "Troy Aikman addresses Cowboys DRAMA and Bill Belichick’s next career steps 🍿 | The Pat McAfee Show",
        "upload_date": "Fri Aug 2 2024",
        "uploader": "ESPN",
        "url": "https://www.youtube.com/watch?v=ZahtjOqxb4c"
    },
    {
        "downloadExtraOptions": "",
        "downloadOptions": "",
        "duration": "00:13:15",
        "engineName": "",
        "runningState": "Not Started",
        "title": "🚨 Ilona Maher SHUTS DOWN the haters! | The Elle Duncan Show",
        "upload_date": "Fri Aug 2 2024",
        "uploader": "ESPN",
        "url": "https://www.youtube.com/watch?v=nzC3c9Eg44E"
    }
]
J-HS-L commented 2 months ago

So, it sounds like I simply repeat that for all ~60 playlists to get my; pl names, & their vid URLs & titles?

Thank you.

mhogomchungu commented 2 months ago

In the playlist downloader tab, it is possible to put multiple playlists but they have to be separated by a space character.

New version is out and with the new version, "save list to file" with .txt extension and the file will have entries like below.

#Aaron Judge’s GREATEST Home Run moments ⚾ | SportsCenter YT Exclusive
https://www.youtube.com/watch?v=8L4LX6geCr4

#Ranking the Top 🔟 role players in the NBA right now 😤 | Numbers on the Board
https://www.youtube.com/watch?v=tnBJM7zVWLE

#Reacting to the NBA 2024-2025 schedule release + Steph Curry & LeBron James 👀 | Numbers on the Board
https://www.youtube.com/watch?v=hzhPplQBxIE

#The Indiana Fever are GROWING UP! - Carolyn Peck on Indy's recent success | SportsCenter
https://www.youtube.com/watch?v=8B2fnywkFKc

#Angel Reese & Caitlin Clark: HISTORIC Rookie Of The Year Race & BOLD WNBA Predictions
https://www.youtube.com/watch?v=Qiyj66cROFg