projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[npr] fix extraction(closes #10793)(closes #13440)
[youtube-dl]
/
youtube_dl
/
extractor
/
beeg.py
diff --git
a/youtube_dl/extractor/beeg.py
b/youtube_dl/extractor/beeg.py
index 1086d76324a1df1484adb042f74b35a614fea01b..192f11ea6118c421e5a5c84741b2a283cbfde800 100644
(file)
--- a/
youtube_dl/extractor/beeg.py
+++ b/
youtube_dl/extractor/beeg.py
@@
-9,8
+9,8
@@
from ..utils import (
class BeegIE(InfoExtractor):
class BeegIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?beeg\.
com
/(?P<id>\d+)'
- _TEST
=
{
+ _VALID_URL = r'https?://(?:www\.)?beeg\.
(?:com|porn(?:/video)?)
/(?P<id>\d+)'
+ _TEST
S = [
{
'url': 'http://beeg.com/5416503',
'md5': 'a1a1b1a8bc70a89e49ccfd113aed0820',
'info_dict': {
'url': 'http://beeg.com/5416503',
'md5': 'a1a1b1a8bc70a89e49ccfd113aed0820',
'info_dict': {
@@
-24,7
+24,13
@@
class BeegIE(InfoExtractor):
'tags': list,
'age_limit': 18,
}
'tags': list,
'age_limit': 18,
}
- }
+ }, {
+ 'url': 'https://beeg.porn/video/5416503',
+ 'only_matching': True,
+ }, {
+ 'url': 'https://beeg.porn/5416503',
+ 'only_matching': True,
+ }]
def _real_extract(self, url):
video_id = self._match_id(url)
def _real_extract(self, url):
video_id = self._match_id(url)