|
@@ -28,7 +28,7 @@ context=ssl.SSLContext(ssl.PROTOCOL_TLSv1))
|
|
|
nicovideo_login(user, password)
|
|
|
|
|
|
html = get_html(url) # necessary!
|
|
|
- title = unicodize(r1(r'<span class="videoHeaderTitle">([^<]+)</span>', html))
|
|
|
+ title = unicodize(r1(r'<span class="videoHeaderTitle"[^>]*>([^<]+)</span>', html))
|
|
|
|
|
|
vid = url.split('/')[-1].split('?')[0]
|
|
|
api_html = get_html('http://www.nicovideo.jp/api/getflv?v=%s' % vid)
|