Commit e183606e authored by Lysander Trischler's avatar Lysander Trischler

Adapt to youtube-dl cmd line flag changes

parent 4648f820
......@@ -22,8 +22,8 @@ __copyright__ = "Copyright 2011, Lysander Trischler"
__license__ = "WTFPL"
__maintainer__ = "Lysander Trischler"
__email__ = "software@lyse.isobeef.org"
__version__ = "2.1.0"
__version_info__ = (2, 1, 0)
__version__ = "2.1.1"
__version_info__ = (2, 1, 1)
import os.path
import sys
......@@ -47,7 +47,7 @@ import re
import os
rss_url = 'http://feeds.feedburner.com/bestofyoutubedotcom?format=xml'
ydl = 'youtube-dl -wo "' + os.path.expanduser("~") + '/Desktop/%(stitle)s-%(id)s.%(ext)s"'
ydl = 'youtube-dl --restrict-filesnames -wo "' + os.path.expanduser("~") + '/Desktop/%(title)s-%(id)s.%(ext)s"'
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