snarfed / huffduff-video

📺 Extract the audio from videos on YouTube, Vimeo, and other sites and send it to Huffduffer.
https://huffduff-video.snarfed.org/
95 stars 6 forks source link

embedded youtube videos don't work #4

Closed snarfed closed 9 years ago

snarfed commented 9 years ago

...they almost work, but the filename gets confused.

e.g. https://snarfed.org/2015-02-26_13320 embeds https://www.youtube.com/watch?v=ei2JbYeHl-I . we think the download filename is based on the web site domain, https_-_snarfed.org_2015-02-26_13320.mp3, but it actually still uses youtube.com, ie https_-_www.youtube.com_watchv=ei2JbYeHl-I.mp3, so key.set_contents_from_filename(filename) fails.

evidently vimeo embeds work fine though. odd.

snarfed commented 9 years ago

fixed by 054cde51607e37c00f9425eeeb75acd26b3e004a