Commit ab6d400e authored by Lysander Trischler's avatar Lysander Trischler

Refactor settings out in ~/.config/youtube-dl/config

parent d8d3fd7b
......@@ -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" -f best'
ydl = 'youtube-dl'
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