projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
711ede6
)
[ustream] Use modern helper function instead of old HTML parser
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 4 Nov 2014 22:15:16 +0000
(23:15 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 4 Nov 2014 22:15:16 +0000
(23:15 +0100)
youtube_dl/extractor/ustream.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ustream.py
b/youtube_dl/extractor/ustream.py
index cee1ea8f6fd5ed50e14de086cb013628b015cb0e..875450908eb15856643dfbd7b085b107f5e1ca1e 100644
(file)
--- a/
youtube_dl/extractor/ustream.py
+++ b/
youtube_dl/extractor/ustream.py
@@
-5,7
+5,6
@@
import re
from .common import InfoExtractor
from ..utils import (
compat_urlparse,
- get_meta_content,
)
@@
-79,7
+78,7
@@
class UstreamChannelIE(InfoExtractor):
m = re.match(self._VALID_URL, url)
display_id = m.group('slug')
webpage = self._download_webpage(url, display_id)
- channel_id =
get_meta_content
('ustream:channel_id', webpage)
+ channel_id =
self._html_search_meta
('ustream:channel_id', webpage)
BASE = 'http://www.ustream.tv'
next_url = '/ajax/socialstream/videos/%s/1.json' % channel_id