Youtube-DL for handling of web-videos...

Adam Albrec's Avatar

Adam Albrec

20 Jan, 2014 11:16 PM

Dear Cameron and the bunch:

I'm almost done with my final big PPC Applescript app, and will send you the link once it is done. It turns out that the web-video python applet youtube-dl, is completely workable in 10.4, and since it works clear back to Python 2.6, should be usable with updates for years to come. Anyway, have created a G.U.I. for it that prompts for a URL of a page with the desired video, then has three buttons below, "Download Video", "Stream to QuickTime" (With Perian obviously) and "Check for Updates".

All modules work great, though terminal windows are still needed to show download progress, but the good news is that it not only works for Youtube, but over 150 different websites, including some like DailyMotion, and the Vevo videos on Youtube, and plays very fast. for both the "Download" and "Stream to QuickTime" buttons, a followup list appears asking for the desired resolution and includes 480p FLV, 480p MP4, 720p MP4, 1080p MP4, and both SD and HD WebM varieties. Additionally, for the download link, have worked out a terminal script to use ffmpeg to automatically convert the downloaded video to HQ 256Kb MP3 and delete the video once done.

A few nice extras is that the script will remove all the underscores and other random characters and the resulting download is titled the way and actual human would. Also all the random, extra text that Youtube often ads to the end of the URLs, is automatically removed using a SED interpreter so that the user doesn't have to selectively copy the URL.

The update button will check for a new version, download it if it exists and then prompt for a password to make it executable in one motion.

Will send a link so you can check it out. Might be a good place to look to keep T.F.F. web-video friendly for years to come. Also, since it isn't limited to Youtube, might really open up the scope of the program.

My script will be done tomorrow, will send a link then.

  1. Support Staff 1 Posted by Cameron Kaiser on 21 Jan, 2014 01:33 AM

    Cameron Kaiser's Avatar

    That certainly sounds very compelling, but how does it integrate with TenFourFox? Did you design an add-on to connect the pieces? Have you thought about using something like Platypus to add a GUI overlay to the progress indicator?

  2. 2 Posted by Adam Albrec on 04 Oct, 2017 09:47 PM

    Adam Albrec's Avatar

    CK: just made a FoxBox to work on a Wordpress site for a customer (works
    great still), but even under the new 1.0.1 Wordpress is giving me the
    "Outdated Browser" spiel.

    No biggie - just reporting it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac