summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 20:39:25 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 20:39:25 +0200
commit5108fb5e7cbb51a05ed142ac54d0586d2c9fc305 (patch)
tree32f4c9b2868a817e1bd727d4c1d498086587b241 /module/plugins/crypter
parent[ImgurComAlbum] Added www and mobile to pattern (diff)
downloadpyload-5108fb5e7cbb51a05ed142ac54d0586d2c9fc305.tar.xz
[YoutubeBatch] Little pattern fixup
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/YoutubeBatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/YoutubeBatch.py b/module/plugins/crypter/YoutubeBatch.py
index e6976471c..4ba1a3c70 100644
--- a/module/plugins/crypter/YoutubeBatch.py
+++ b/module/plugins/crypter/YoutubeBatch.py
@@ -30,7 +30,7 @@ API_KEY = "AIzaSyCKnWLNlkX-L4oD1aEzqqhRw1zczeD6_k0"
class YoutubeBatch(Crypter):
__name__ = "YoutubeBatch"
__type__ = "crypter"
- __pattern__ = r'https?://(?:www\.)?(m\.)?youtube\.com/(?P<TYPE>user|playlist|view_play_list)(/|.*?[?&](?:list|p)=)(?P<ID>[\w-]+)'
+ __pattern__ = r'https?://(?:www\.|m\.)?youtube\.com/(?P<TYPE>user|playlist|view_play_list)(/|.*?[?&](?:list|p)=)(?P<ID>[\w-]+)'
__version__ = "1.00"
__description__ = """Youtube.com channel & playlist decrypter plugin"""
__config__ = [("likes", "bool", "Grab user (channel) liked videos", False),