mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 05:25:02 +03:00
add Bilibili Video not found
增加 B站视频找不到情况的提示
This commit is contained in:
parent
b2217e5b95
commit
1423c00119
@ -137,7 +137,7 @@ class Bilibili(VideoExtractor):
|
||||
#self.title = match1(html_content,
|
||||
# r'<h1 title="([^"]+)"')
|
||||
if(html_content.find("视频去哪了呢?_哔哩哔哩 ")>0):
|
||||
print("哔哩哔哩视频不存在!(Video not found !)URL:%s"%self.url)
|
||||
print("哔哩哔哩视频不存在!(Video not found !)URL: %s" %self.url)
|
||||
return
|
||||
# redirect: watchlater
|
||||
if re.match(r'https?://(www\.)?bilibili\.com/watchlater/#/(av(\d+)|BV(\S+)/?)', self.url):
|
||||
|
Loading…
Reference in New Issue
Block a user