]>
Raphaël G. Git Repositories - youtubedl/blob - youtube_dl/extractor/biqle.py
beaebfd2add55b9740ba3d5ac81256f442277abf
2 from __future__
import unicode_literals
4 from .common
import InfoExtractor
7 class BIQLEIE(InfoExtractor
):
8 _VALID_URL
= r
'https?://(?:www\.)?biqle\.(?:com|org|ru)/watch/(?P<id>-?\d+_\d+)'
10 'url': 'http://www.biqle.ru/watch/847655_160197695',
11 'md5': 'ad5f746a874ccded7b8f211aeea96637',
15 'title': 'Foo Fighters - The Pretender (Live at Wembley Stadium)',
16 'uploader': 'Andrey Rogozin',
17 'upload_date': '20110605',
20 'url': 'https://biqle.org/watch/-44781847_168547604',
21 'md5': '7f24e72af1db0edf7c1aaba513174f97',
25 'title': 'Ребенок в шоке от автоматической мойки',
26 'uploader': 'Dmitry Kotov',
28 'skip': ' This video was marked as adult. Embedding adult videos on external sites is prohibited.',
31 def _real_extract(self
, url
):
32 video_id
= self
._match
_id
(url
)
33 webpage
= self
._download
_webpage
(url
, video_id
)
34 embed_url
= self
._proto
_relative
_url
(self
._search
_regex
(
35 r
'<iframe.+?src="((?:http:)?//daxab\.com/[^"]+)".*?></iframe>', webpage
, 'embed url'))
38 '_type': 'url_transparent',