kirbyloco / linetv-dl Goto Github PK
View Code? Open in Web Editor NEW簡易下載LineTV的影片
簡易下載LineTV的影片
报错
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.linetv.tw', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)')))
试了网上的各种办法,请问有办法解决嘛--!
好的解决了,谢谢你这么好的东西!
请问那些代码是要在哪里输入啊 ,ffmpeg和Linetv.py我双击都是闪退,环境变量我也加了不知道是哪里有问题?求助
問題如下 請問這個改如何解決..
找到access_token,將採用登入模式下載
Traceback (most recent call last):
File "e:\python\lib\site-packages\httpcore\_exceptions.py", line 8, in map_exceptions
yield
File "e:\python\lib\site-packages\httpcore\backends\sync.py", line 57, in start_tls
raise exc
File "e:\python\lib\site-packages\httpcore\backends\sync.py", line 52, in start_tls
sock = ssl_context.wrap_socket(
File "e:\python\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "e:\python\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "e:\python\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\python\lib\site-packages\httpx\_transports\default.py", line 60, in map_httpcore_exceptions
yield
File "e:\python\lib\site-packages\httpx\_transports\default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "e:\python\lib\site-packages\httpcore\_sync\connection_pool.py", line 253, in handle_request
raise exc
File "e:\python\lib\site-packages\httpcore\_sync\connection_pool.py", line 237, in handle_request
response = connection.handle_request(request)
File "e:\python\lib\site-packages\httpcore\_sync\http_proxy.py", line 255, in handle_request
connect_response = self._connection.handle_request(
File "e:\python\lib\site-packages\httpcore\_sync\connection.py", line 86, in handle_request
raise exc
File "e:\python\lib\site-packages\httpcore\_sync\connection.py", line 63, in handle_request
stream = self._connect(request)
File "e:\python\lib\site-packages\httpcore\_sync\connection.py", line 150, in _connect
stream = stream.start_tls(**kwargs)
File "e:\python\lib\site-packages\httpcore\backends\sync.py", line 57, in start_tls
raise exc
File "e:\python\lib\contextlib.py", line 135, in __exit__
self.gen.throw(type, value, traceback)
File "e:\python\lib\site-packages\httpcore\_exceptions.py", line 12, in map_exceptions
raise to_exc(exc)
httpcore.ConnectError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\蜡笔小新sp\LineTV-DL\Linetv.py", line 283, in <module>
DL.Drama(args.dramaid, _ep, args.lng, args.sub, args.no_download)
File "E:\蜡笔小新sp\LineTV-DL\Linetv.py", line 56, in __init__
self.get_part_url()
File "E:\蜡笔小新sp\LineTV-DL\Linetv.py", line 71, in get_part_url
req = session.get(
File "e:\python\lib\site-packages\httpx\_client.py", line 1025, in get
return self.request(
File "e:\python\lib\site-packages\httpx\_client.py", line 802, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "e:\python\lib\site-packages\httpx\_client.py", line 889, in send
response = self._send_handling_auth(
File "e:\python\lib\site-packages\httpx\_client.py", line 917, in _send_handling_auth
response = self._send_handling_redirects(
File "e:\python\lib\site-packages\httpx\_client.py", line 954, in _send_handling_redirects
response = self._send_single_request(request)
File "e:\python\lib\site-packages\httpx\_client.py", line 990, in _send_single_request
response = transport.handle_request(request)
File "e:\python\lib\site-packages\httpx\_transports\default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "e:\python\lib\contextlib.py", line 135, in __exit__
self.gen.throw(type, value, traceback)
File "e:\python\lib\site-packages\httpx\_transports\default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)
E:\蜡笔小新sp\LineTV-DL>
有会员如何下载会员影片呢
能問一下目前會員下載進展到哪裏了嗎?
發布此Issue前請先確定
電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:
我試了,m3u8檔還是不行,ts后面少了一串
問題敘述
錯誤截圖
錯誤Log檔
請問透過python執行後出現錯誤訊息,如下
Traceback (most recent call last):
File "D:\LineTV-Dowlond\LineTV-DL-master\Linetv.py", line 5, in
import requests
ModuleNotFoundError: No module named 'requests'
是執行方式有什麼問題嗎
發布此Issue前請先確定
電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:
問題敘述
錯誤截圖
錯誤Log檔
下載的m3u8文檔好像又沒法用了
尊敬的作者:
最新版 请测试这个页面 https://www.linetv.tw/drama/9987/eps/1?drama_id=9987&source=SEARCH_RESULT_PAGE
py Linetv.py -id 9987 --epall
错误提示:
集數尚未開放
Traceback (most recent call last):
File "Linetv.py", line 176, in
DL.Drama(args.dramaid, _ep, args.lng, args.sub, args.no_download)
File "Linetv.py", line 59, in init
self.get_m3u8_key()
File "Linetv.py", line 91, in get_m3u8_key
token = req.json()['token']
KeyError: 'token'
花絮怎麼下載呢,集數怎麼填寫
如題 想問一下 下載了好幾個 都是聲音會比畫面快
Can't download VIP episodes same "VIP直接下載1080p".
;)
Thanks.
I am getting " no such file or directory" when i try to import linetv.
發布此Issue前請先確定
電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:
問題敘述
錯誤截圖
錯誤Log檔
55552
大佬,由于vpn容易波动,所以希望能改一下能只下载到正确的m3u8文档,现在下载的m3u8文档每一个ts前面似乎缺了一部分,导致m3u8文档一直不能正确下载。
Is it possible to download a VIP drama without sign in to a VIP account?
I tried several times, but it showed that I failed to do so.
下载第二集就一个预告,一分多钟,其他的集数下载都是完整的
我試了好幾個不同的影片下載 都出現"下載失敗"
請版主也試試看
這個問題是今天才出現
昨天還沒有問題
123456
發布此Issue前請先確定
電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:
問題敘述
錯誤截圖
錯誤Log檔
你好,我試著下載影片11976時,出現這個log
File "C:\Users\aland\Desktop\LineTV-DL-master\Linetv.py", line 111, in dl_video
f.write(sub.text)
UnicodeEncodeError: 'cp950' codec can't encode character '\u70bb' in position 23246: illegal multibyte sequence
我試著把程式改成
f.write(sub.text.encode("utf8").decode("cp950", "ignore"))
跑是跑過了,可是存出來的vtt檔,裡面的字幕是任何編碼都無法正確顯示的亂碼,只有時間軸是看得懂的
不知道您有沒有什麼看法?
發布此Issue前請先確定
電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:
問題敘述
錯誤截圖
錯誤Log檔
請問大佬有下載friday影音的影片的方法嗎?
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.