|
|
@ -32,6 +32,10 @@ class BeegIE(InfoExtractor):
|
|
|
|
# api/v6 v2
|
|
|
|
# api/v6 v2
|
|
|
|
'url': 'https://beeg.com/1941093077?t=911-1391',
|
|
|
|
'url': 'https://beeg.com/1941093077?t=911-1391',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
|
|
|
|
}, {
|
|
|
|
|
|
|
|
# api/v6 v2 w/o t
|
|
|
|
|
|
|
|
'url': 'https://beeg.com/1277207756',
|
|
|
|
|
|
|
|
'only_matching': True,
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
'url': 'https://beeg.porn/video/5416503',
|
|
|
|
'url': 'https://beeg.porn/video/5416503',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
@ -49,14 +53,17 @@ class BeegIE(InfoExtractor):
|
|
|
|
r'beeg_version\s*=\s*([\da-zA-Z_-]+)', webpage, 'beeg version',
|
|
|
|
r'beeg_version\s*=\s*([\da-zA-Z_-]+)', webpage, 'beeg version',
|
|
|
|
default='1546225636701')
|
|
|
|
default='1546225636701')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if len(video_id) >= 10:
|
|
|
|
|
|
|
|
query = {
|
|
|
|
|
|
|
|
'v': 2,
|
|
|
|
|
|
|
|
}
|
|
|
|
qs = compat_urlparse.parse_qs(compat_urlparse.urlparse(url).query)
|
|
|
|
qs = compat_urlparse.parse_qs(compat_urlparse.urlparse(url).query)
|
|
|
|
t = qs.get('t', [''])[0].split('-')
|
|
|
|
t = qs.get('t', [''])[0].split('-')
|
|
|
|
if len(t) > 1:
|
|
|
|
if len(t) > 1:
|
|
|
|
query = {
|
|
|
|
query.update({
|
|
|
|
'v': 2,
|
|
|
|
|
|
|
|
's': t[0],
|
|
|
|
's': t[0],
|
|
|
|
'e': t[1],
|
|
|
|
'e': t[1],
|
|
|
|
}
|
|
|
|
})
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
query = {'v': 1}
|
|
|
|
query = {'v': 1}
|
|
|
|
|
|
|
|
|
|
|
|