aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2021-01-04 00:17:51 +0700
committerSergey M․ <dstftw@gmail.com>2021-01-04 00:17:51 +0700
commit0889eb33e0d40d567be5b2f8431952a5517276fc (patch)
treeb229c4be8cbefbe910f4b7fc9087e6a60a116851
parent0021a2b9a14626b1b56c77bec4d93e70a217d32c (diff)
[xfileshare] Add support for aparat.cam (closes #27651)
-rw-r--r--youtube_dl/extractor/xfileshare.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/xfileshare.py b/youtube_dl/extractor/xfileshare.py
index 48ef07ed1..cbd5d1cbb 100644
--- 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