diff --git a/src/you_get/extractors/qq.py b/src/you_get/extractors/qq.py index 66487b8e..ebe1a9ad 100644 --- a/src/you_get/extractors/qq.py +++ b/src/you_get/extractors/qq.py @@ -32,7 +32,8 @@ def qq_download(url, output_dir='.', merge=True, info_only=False, **kwargs): elif 'kuaibao.qq.com' in url: content = get_html(url) vid = match1(content, r'vid\s*=\s*"\s*([^"]+)"') - title = match1(content, r'title">([^"]+)

').strip() + title = match1(content, r'title">([^"]+)

') + title = title.strip() if title else vid elif 'iframe/player.html' in url: vid = match1(url, r'\bvid=(\w+)') # for embedded URLs; don't know what the title is