diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 20:39:25 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 20:39:25 +0200 |
commit | 5108fb5e7cbb51a05ed142ac54d0586d2c9fc305 (patch) | |
tree | 32f4c9b2868a817e1bd727d4c1d498086587b241 | |
parent | [ImgurComAlbum] Added www and mobile to pattern (diff) | |
download | pyload-5108fb5e7cbb51a05ed142ac54d0586d2c9fc305.tar.xz |
[YoutubeBatch] Little pattern fixup
-rw-r--r-- | module/plugins/crypter/YoutubeBatch.py | 2 |
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), |