Skip to content

Commit

Permalink
YinYueTai: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soimort committed Aug 24, 2013
1 parent 70cd7b3 commit 6f77174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/downloader/yinyuetai.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def yinyuetai_download_by_id(id, title = None, output_dir = '.', merge = True, i
download_urls([url], title, ext, size, output_dir, merge = merge)

def yinyuetai_download(url, output_dir = '.', merge = True, info_only = False):
id = r1(r'http://www.yinyuetai.com/video/(\d+)$', url)
id = r1(r'http://\w+.yinyuetai.com/video/(\d+)$', url)
assert id
html = get_html(url, 'utf-8')
title = r1(r'<meta property="og:title"\s+content="([^"]+)"/>', html)
Expand Down

0 comments on commit 6f77174

Please sign in to comment.