projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credit @AVerwer for showroomlive (#11458)
[youtube-dl]
/
youtube_dl
/
extractor
/
pinkbike.py
diff --git
a/youtube_dl/extractor/pinkbike.py
b/youtube_dl/extractor/pinkbike.py
index 745433b482ae3a3e3219c82d23a143dee76a3aa5..6a4580d54c8733166316c80a2361499e85eb9baf 100644
(file)
--- a/
youtube_dl/extractor/pinkbike.py
+++ b/
youtube_dl/extractor/pinkbike.py
@@
-23,7
+23,7
@@
class PinkbikeIE(InfoExtractor):
'ext': 'mp4',
'title': 'Brandon Semenuk - RAW 100',
'description': 'Official release: www.redbull.ca/rupertwalker',
'ext': 'mp4',
'title': 'Brandon Semenuk - RAW 100',
'description': 'Official release: www.redbull.ca/rupertwalker',
- 'thumbnail': 're:^https?://.*\.jpg$',
+ 'thumbnail':
r
're:^https?://.*\.jpg$',
'duration': 100,
'upload_date': '20150406',
'uploader': 'revelco',
'duration': 100,
'upload_date': '20150406',
'uploader': 'revelco',
@@
-44,7
+44,7
@@
class PinkbikeIE(InfoExtractor):
formats = []
for _, format_id, src in re.findall(
formats = []
for _, format_id, src in re.findall(
- r'data-quality=((?:\\)?["\'])(.+?)\1[^>]+src=\1(.+?)\1', webpage):
+
r'data-quality=((?:\\)?["\'])(.+?)\1[^>]+src=\1(.+?)\1', webpage):
height = int_or_none(self._search_regex(
r'^(\d+)[pP]$', format_id, 'height', default=None))
formats.append({
height = int_or_none(self._search_regex(
r'^(\d+)[pP]$', format_id, 'height', default=None))
formats.append({