projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cbce88
)
[xtube] Fix formats extraction (closes #24348)
author
Sergey M․
<dstftw@gmail.com>
Sat, 14 Mar 2020 15:57:10 +0000
(22:57 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 14 Mar 2020 15:57:10 +0000
(22:57 +0700)
youtube_dl/extractor/xtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xtube.py
b/youtube_dl/extractor/xtube.py
index 47caec1de49d32d0b1070c439c2f1f1acc328783..79dd647b37313221327336a02ca1f21fd176b97c 100644
(file)
--- a/
youtube_dl/extractor/xtube.py
+++ b/
youtube_dl/extractor/xtube.py
@@
-98,7
+98,7
@@
class XTubeIE(InfoExtractor):
title = config.get('title')
thumbnail = config.get('poster')
duration = int_or_none(config.get('duration'))
- sources = config.get('sources')
+ sources = config.get('sources')
or config.get('format')
if isinstance(sources, dict):
sources = self._parse_json(self._search_regex(