jaysonlong / webvideo-downloader Goto Github PK
View Code? Open in Web Editor NEWWeb video downloader for Bilibili, iQIYI, Tencent Video, MGTV and WeTV. 网站视频下载器,主要支持Bilibili、爱奇艺、腾讯视频、芒果TV、WeTV、愛奇藝台灣站。
Web video downloader for Bilibili, iQIYI, Tencent Video, MGTV and WeTV. 网站视频下载器,主要支持Bilibili、爱奇艺、腾讯视频、芒果TV、WeTV、愛奇藝台灣站。
6666
Traceback (most recent call last):
File "E:\Anaconda3\envs\newStock\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
chunked=chunked,
File "E:\Anaconda3\envs\newStock\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "E:\Anaconda3\envs\newStock\lib\site-packages\urllib3\connectionpool.py", line 976, in _validate_conn
conn.connect()
File "E:\Anaconda3\envs\newStock\lib\site-packages\urllib3\connection.py", line 396, in connect
_match_hostname(cert, self.assert_hostname or server_hostname)
File "E:\Anaconda3\envs\newStock\lib\site-packages\urllib3\connection.py", line 406, in _match_hostname
match_hostname(cert, asserted_hostname)
File "E:\Anaconda3\envs\newStock\lib\ssl.py", line 334, in match_hostname
% (hostname, ', '.join(map(repr, dnsnames))))
ssl.SSLCertVerificationError: ("hostname 'vhot2.qqvideo.tc.qq.com' doesn't match either of '.music.tc.qq.com', '.kg.tc.qq.com', '.stream.kg.qq.com', '.tc.qq.com', '*.tsmusic.kg.qq.com', 'music.tc.qq.com'",)
请问 使用 python 下载视频时,认的线路是本地的,怎么使用vpn上的线路
我下了压缩包然后还下了3.9版本的python 但是我双击上面这个文件就一直在闪退,从网站点进去就一直写 “请先运行 python daemon.py” 我百度了但是也没有解决这个问题 不知道是我下的py版本有问题还是那出现问题了
"已經是VIP會員"
https://tw.iqiyi.com/v_1686465av2o.html
前五集不須VIP可以觀看 (可以正常下載)
後兩集需VIP才可觀看 (下載顯示http响应: 405错误)
其他劇集需要VIP才可觀看的集數 下載也提示同樣錯誤
Episode with subtitles can be downloaded.
https://wetv.vip/th/play/anviyiymhgufaf5
Same but without subtitles will not be able to download.
https://wetv.vip/th/play/e7y96etkbv4fy42
Thanks for your application. I'm really like it
I have no knowledge about IT so in the step install daemon.py, I don't know how to install ans run it. Can you instruct me or record an instruction video? Thanks so much.
Traceback (most recent call last):
File "C:\Users\lily\Downloads\daemon.py", line 5, in
from dispatcher import TaskDispatcher
ModuleNotFoundError: No module named 'dispatcher'
How do I install daemon.py?
I can't handle Python.
Please let me know the answer.
Thanks.
C:\Users\hooke\Videos>python daemon.py
Traceback (most recent call last):
File "daemon.py", line 5, in <module>
from dispatcher import TaskDispatcher
ModuleNotFoundError: No module named 'dispatcher'
hi!
nice tool :-)
is it possible to translate it to english?
Hello Jaysonlong,
Your script was too good man 🙂. Please add a viki website to your supported website on future.
建议使用GPU加速的ffmpeg指令,速度会快很多
用的win版,直接报错了
Hello,
First thank you for the script, but it only download 6 minutes then stop.
Duration : 6 min 4 s
URL: https://www.iq.com/play/1pzjbnp7ftg
General
Complete name : Love Yourself Episode 36 _ iQIYI.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 84.2 MiB
Duration : 42 min 43 s
Overall bit rate mode : Variable
Overall bit rate : 275 kb/s
Writing application : Lavf58.22.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 6 min 4 s
Bit rate : 1 796 kb/s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.047
Stream size : 78.0 MiB (93%)
Writing library : qiyi.com vtc-test
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC
Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 6 min 4 s
Bit rate mode : Constant
Bit rate : 124 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 5.37 MiB (6%)
Default : Yes
Alternate group : 1
Text #1
ID : 3
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 104 b/s
Stream size : 32.6 KiB (0%)
Title : Arabic
Default : Yes
Forced : No
Alternate group : 3
Text #2
ID : 4
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 77 b/s
Stream size : 24.0 KiB (0%)
Title : Spanish
Default : No
Forced : No
Alternate group : 3
Text #3
ID : 5
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 90 b/s
Stream size : 28.3 KiB (0%)
Title : Korean
Default : No
Forced : No
Alternate group : 3
Text #4
ID : 6
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 103 b/s
Stream size : 32.3 KiB (0%)
Title : Vietnamese
Default : No
Forced : No
Alternate group : 3
Text #5
ID : 7
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 79 b/s
Stream size : 24.8 KiB (0%)
Title : Bahasa Malaysia
Default : No
Forced : No
Alternate group : 3
Text #6
ID : 8
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 195 b/s
Stream size : 61.0 KiB (0%)
Title : Thai
Default : No
Forced : No
Alternate group : 3
Text #7
ID : 9
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 65 b/s
Stream size : 20.2 KiB (0%)
Title : Simplified Chinese
Default : No
Forced : No
Alternate group : 3
Text #8
ID : 10
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 65 b/s
Stream size : 20.2 KiB (0%)
Title : Traditional Chinese
Default : No
Forced : No
Alternate group : 3
Text #9
ID : 11
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 81 b/s
Stream size : 25.2 KiB (0%)
Title : Indonesian
Default : No
Forced : No
Alternate group : 3
Text #10
ID : 12
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 42 min 43 s
Bit rate mode : Variable
Bit rate : 78 b/s
Stream size : 24.5 KiB (0%)
Title : English
Default : No
Forced : No
Alternate group : 3
我下这个链接https://www.iq.com/play/19rwv92hp8,泰国线的,就一直是代理错误下不了
requests.exceptions.ProxyError: HTTPSConnectionPool(host='cache-video.iq.com', port=443): Max retries exceeded with url: 略 (Caused by ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1106: The handshake operation timed out')))
请问要如何解决呀?
我开着plex加速器
Hi, Please help to check this error. Any idea on how to fix it?
Traceback (most recent call last):
File "dispatcher.py", line 164, in dispatch
self.download(linksurl, fileName)
File "dispatcher.py", line 129, in download
targetFileName = self._downloadHls(videoUrls, fileName, headers, concat)
File "dispatcher.py", line 38, in _downloadHls
tools.mergePartialVideos(fileNames, targetFileName, concat=concat)
File "utils.py", line 250, in mergePartialVideos
f.write(text)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python38\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u7b2c' in position 66: character maps to
Please Mr. Jaysonlong, Could you add downloading script from VIKI.com ?
Thanks
Traceback (most recent call last):
File "/Volumes/数据/Download/m3u8download/downloader/dispatcher.py", line 125, in dispatch
self.download(linksurl, fileName)
File "/Volumes/数据/Download/m3u8download/downloader/dispatcher.py", line 94, in download
videoType, headers, audioUrls, videoUrls = api.preProcessUrl(linksurl)
File "/Volumes/数据/Download/m3u8download/downloader/api.py", line 75, in preProcessUrl
videoUrls = parseHls(url, headers)
File "/Volumes/数据/Download/m3u8download/downloader/api.py", line 45, in parseHls
content = tools.getText(url, headers)
File "/Volumes/数据/Download/m3u8download/downloader/tools/utils.py", line 72, in getText
response = request('GET', url, headers=headers)
File "/Volumes/数据/Download/m3u8download/downloader/tools/utils.py", line 64, in request
raise Exception('http响应: %d错误' % response.status_code)
Exception: http响应: 405错误
如何修改 集成字幕 成MKV格式,或者不进行合并,因为要修改字幕文件的
是修改这一段吗 麻烦给指点一下
def integrateSubtitles(subtitlesInfo, videoName):
print('正在集成字幕')
subtitleNames = list(map(lambda x: x[1], subtitlesInfo))
fileNames = [videoName] + subtitleNames
inputCmd = ' '.join(map(lambda x: ('-i "%s"' % x), fileNames))
mapCmd = '-map 0'
for i, (name, subtitleName) in enumerate(subtitlesInfo):
mapCmd += ' -map %d -metadata:s:s:%d title="%s"' % (i+1, i, name)
isMp4 = videoName.endswith('.mp4')
tempVideoName = videoName.rsplit('.', 1)[0] + '.srt.mp4'
targetFileName = videoName if isMp4 else (videoName.rsplit('.', 1)[0] + '.mp4')
logLevel = 'info' if debug else 'fatal'
这个链接里的bid是清晰度,网页播放时最高只有1080p,要是能增加修改这个字段的功能,就能支持4k了。
如果你不方便修改的话,能否告知修改方法?我尝试了几次,没成功。
需要会员账号或其他信息,欢迎来邮 [email protected]
解析出来是M4S格式,比如 https://www.iqiyi.com/v_19rupl6tnc.html
每次要下载时都跳出(请先运行 "python daemon.py")
请问是哪里没有设定到?
抱歉小弟没什么基础
谢谢
可以付费哈哈~
Please Mr. jaysonlong
When I download Drama from iq.com, Some of the videos durations are not as the durations of them at the site, What's the problem here?
FileNotFoundError: [WinError 2] The system cannot find the file specified:
macOS视频下载到了什么地方?webvideo-downloader-1.6目录下没有
不刷新网站的情况下偶尔有416错误
Hello,
The latest update scripts couldn't download the subtitles, and I know these scripts won't support to download the subtitles.
I love Chinese drama, But without subtitles difficult to understand the conversion. I don't know the Chinese language.
Kindly re-update the script to prompt the subtitle option for optionally.
Where should i find the requests.py file
用的是普通版的爱奇艺vpn用的malus免费回国软件可以正常打开但是无法获取显示爱奇艺**站需要proxy】
Listening on port 18888 for clients...
Receive: {
"fileName": "犬夜叉:第1话_番剧_bilibili_哔哩哔哩",
"url": "https://221-236-179-235.mcdn.bilivideo.cn:480/upgcxcode/64/59/126445
964/126445964_nb2-1-30280.m4s?expires=1601805686&platform=pc&ssig=ZltCyaVb5GNpw5
P5AWlXDQ&oi=1946701278&trid=2f0fbc3a5d3d4a1aaec2e1383adc32b1p&nfc=1&nfb=maPYqpoe
l5MI3qOUX6YpRA==&mcdnid=1001039&mid=13872689&orderid=0,3&agrr=1&logo=A0000001|ht
tps://upos-sz-mirrorcos.bilivideo.com/upgcxcode/64/59/126445964/126445964_da2-1-
30112.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0Mv
Xg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNv
NC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1601805686&ge
n=playurl&os=cosbv&oi=1946701278&trid=2f0fbc3a5d3d4a1aaec2e1383adc32b1p&platform
=pc&upsig=0c6736f9b12db86ac8e66cb41b7413de&uparams=e,uipk,nbs,deadline,gen,os,oi
,trid,platform&mid=13872689&orderid=0,3&agrr=1&logo=80000000",
"type": "link"
}
Handle: {
"fileName": "犬夜叉:第1话_番剧_bilibili_哔哩哔哩",
"url": "https://221-236-179-235.mcdn.bilivideo.cn:480/upgcxcode/64/59/126445
964/126445964_nb2-1-30280.m4s?expires=1601805686&platform=pc&ssig=ZltCyaVb5GNpw5
P5AWlXDQ&oi=1946701278&trid=2f0fbc3a5d3d4a1aaec2e1383adc32b1p&nfc=1&nfb=maPYqpoe
l5MI3qOUX6YpRA==&mcdnid=1001039&mid=13872689&orderid=0,3&agrr=1&logo=A0000001|ht
tps://upos-sz-mirrorcos.bilivideo.com/upgcxcode/64/59/126445964/126445964_da2-1-
30112.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0Mv
Xg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNv
NC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1601805686&ge
n=playurl&os=cosbv&oi=1946701278&trid=2f0fbc3a5d3d4a1aaec2e1383adc32b1p&platform
=pc&upsig=0c6736f9b12db86ac8e66cb41b7413de&uparams=e,uipk,nbs,deadline,gen,os,oi
,trid,platform&mid=13872689&orderid=0,3&agrr=1&logo=80000000",
"type": "link"
}
Error Download sound with inconsistent Subtitle
Hi thanks for the great work.
I downloaded a ~20 minute video from v.qq.com, it's mostly great but there are a few little jumps / ticks which I feel might be from incorrect joining of small segments. The downloaded video has length 22:37 whereas the original is 22:19, which is odd. I wonder if you have any ideas if this is possible to fix?
Thanks
Hello,
The script wasn't working for some videos in WETV.VIP and reference URL is below,
Kindly do needful.
Hello, would it be possible to add support for iQiyi videos on iq.com? Thanks a lot.
主流的就差优酷了,希望能支持一下
这个可以直接复制复制别的地方下载不
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.