about summary refs log tree commit diff
path: root/youtube_dl/extractor/ustream.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-04 23:15:16 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-04 23:15:16 +0100
commit44789f2457bab99f712e97e4ced5eb1a2fc9cbfd (patch)
treefa0c852eed1a3dd4f1929a853113a1029b020567 /youtube_dl/extractor/ustream.py
parent711ede6e1b8169609c4c0137af307a6da218092f (diff)
downloadyoutube-dl-44789f2457bab99f712e97e4ced5eb1a2fc9cbfd.tar.gz
youtube-dl-44789f2457bab99f712e97e4ced5eb1a2fc9cbfd.tar.xz
youtube-dl-44789f2457bab99f712e97e4ced5eb1a2fc9cbfd.zip
[ustream] Use modern helper function instead of old HTML parser
Diffstat (limited to 'youtube_dl/extractor/ustream.py')
-rw-r--r--youtube_dl/extractor/ustream.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/ustream.py b/youtube_dl/extractor/ustream.py
index cee1ea8f6..875450908 100644
--- 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