Commit bc487d88 authored by Lysander Trischler's avatar Lysander Trischler

Fetch best format

parent 39a55d3c
......@@ -47,7 +47,7 @@ import re
import os
rss_url = 'http://feeds.feedburner.com/bestofyoutubedotcom?format=xml'
ydl = 'youtube-dl --restrict-filename -wo "' + os.path.expanduser("~") + '/Desktop/%(title)s-%(id)s.%(ext)s"'
ydl = 'youtube-dl --restrict-filename -wo "' + os.path.expanduser("~") + '/Desktop/%(title)s-%(id)s.%(ext)s" -f best'
link_regex = re.compile(r'"http://img.youtube.com/vi/(.+)/[0-9]+.jpg"')
index_file = os.path.join(os.path.dirname(__file__), "boydl.index")
error_file = os.path.join(os.path.dirname(__file__), "boydl.error")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment