This commit is contained in:
Sergio Livi 2020-10-22 17:51:25 +02:00 committed by GitHub
commit ad43033de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
class BigMarkerIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?bigmarker\.com/recordings/(?P<id>[a-z0-9]+)'
_TEST = {
'url': 'https://www.bigmarker.com/recordings/478333acea6e',
'md5': '8efb9380119651972481f6974e0c8c06',
'info_dict': {
'id': '478333acea6e',
'ext': 'mp4',
'title': '478333acea6e',
'url': 'https://d5ln38p3754yc.cloudfront.net/F508IZuncdvJ37XKHei8/32165f6e-4fae-4262-9f16-aa7f53142305.mp4?1602110695315',
'author': 'Pulumi',
}
}
def _real_extract(self, url):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
return {
'id': video_id,
'title': video_id,
'author': self._search_regex(r'qaClubName:\s*(["\'])(?P<clubName>.+)\1', webpage, 'author', group='clubName', default=None),
'url': self._search_regex(r'mp4Url:\s*(["\'])(?P<url>http.+)\1', webpage, 'url', group='url'),
}

View File

@ -99,6 +99,7 @@ from .beatport import BeatportIE
from .bet import BetIE from .bet import BetIE
from .bfi import BFIPlayerIE from .bfi import BFIPlayerIE
from .bigflix import BigflixIE from .bigflix import BigflixIE
from .bigmarker import BigMarkerIE
from .bild import BildIE from .bild import BildIE
from .bilibili import ( from .bilibili import (
BiliBiliIE, BiliBiliIE,