summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-18 23:14:04 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-18 23:14:04 +0200
commit471675128ed57e1ac6fb0782f148b1b30a050e0a (patch)
treeba012e645da6837db619c1f487280ef5c4284ce9 /module/plugins/hoster
parentMerge pull request #1748 from fayf/stable (diff)
parent[YoutubeCom] fix #1744 (diff)
downloadpyload-471675128ed57e1ac6fb0782f148b1b30a050e0a.tar.xz
Merge pull request #1746 from GammaC0de/patch-4
[YoutubeCom] fix #1744
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/YoutubeCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py
index 865eeef2e..86cca7cf1 100644
--- a/module/plugins/hoster/YoutubeCom.py
+++ b/module/plugins/hoster/YoutubeCom.py
@@ -33,7 +33,7 @@ def which(program):
class YoutubeCom(Hoster):
__name__ = "YoutubeCom"
__type__ = "hoster"
- __version__ = "0.44"
+ __version__ = "0.45"
__status__ = "testing"
__pattern__ = r'https?://(?:[^/]*\.)?(youtube\.com|youtu\.be)/watch\?(?:.*&)?v=.+'
@@ -54,7 +54,7 @@ class YoutubeCom(Hoster):
URL_REPLACEMENTS = [(r'youtu\.be/', 'youtube.com/')]
#: Invalid characters that must be removed from the file name
- invalidChars = u'\u2605:?><"|\\'
+ invalid_chars = u'\u2605:?><"|\\'
#: name, width, height, quality ranking, 3D
formats = {5 : (".flv" , 400 , 240 , 1 , False),