projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0021a2b
)
[xfileshare] Add support for aparat.cam (closes #27651)
author
Sergey M․
<dstftw@gmail.com>
Sun, 3 Jan 2021 17:17:51 +0000
(
00:17
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 3 Jan 2021 17:17:51 +0000
(
00:17
+0700)
youtube_dl/extractor/xfileshare.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xfileshare.py
b/youtube_dl/extractor/xfileshare.py
index 48ef07ed1415aff0e81f9029136d480c76e3c14c..cbd5d1cbbb331cbd14777e70950b9c3c2a41175c 100644
(file)
--- a/
youtube_dl/extractor/xfileshare.py
+++ b/
youtube_dl/extractor/xfileshare.py
@@
-45,6
+45,7
@@
def aa_decode(aa_code):
class XFileShareIE(InfoExtractor):
_SITES = (
+ (r'aparat\.cam', 'Aparat'),
(r'clipwatching\.com', 'ClipWatching'),
(r'gounlimited\.to', 'GoUnlimited'),
(r'govid\.me', 'GoVid'),
@@
-78,6
+79,9
@@
class XFileShareIE(InfoExtractor):
'title': 'sample',
'thumbnail': r're:http://.*\.jpg',
},
+ }, {
+ 'url': 'https://aparat.cam/n4d6dh0wvlpr',
+ 'only_matching': True,
}]
@staticmethod