mbuckler / youtube-bb

Public repo for helpful scripts when using the YouTube Bounding Boxes dataset
MIT License
193 stars 57 forks source link

Solve video can't be downloaded issue #26

Open AdrienGuo opened 1 year ago

AdrienGuo commented 1 year ago

For those who might find the problem that video can't be downloaded like me (similar to #25 ). It seems like the download URL doesn't work in the original way. To resolve this issue, try changing this line of code: https://github.com/mbuckler/youtube-bb/blob/a0749efce7818b8ecc69366e9cc51e3e3e262151/youtube_bb.py#L152 to

'https://www.youtube.com/watch?v=' + vid.yt_id

then wait for a long long time 🙂.

ParthMandaliya commented 1 year ago

Still nothing in the download directory!!

ParthMandaliya commented 1 year ago

@AdrienGuo your solution is not working, but https://github.com/mbuckler/youtube-bb/blob/a0749efce7818b8ecc69366e9cc51e3e3e262151/youtube_bb.py#L153

after removing the above line from the code, download happens

SuperIRabbit commented 1 year ago

I think this is the root cause (and solution): https://github.com/yt-dlp/yt-dlp/issues/6247#issuecomment-1433096554