Giter Site home page Giter Site logo

linetv-dl's People

Contributors

kirbyloco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linetv-dl's Issues

可能是vpn的原因

报错
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)')))
试了网上的各种办法,请问有办法解决嘛--!
好的解决了,谢谢你这么好的东西!

我点击.py会闪退

请问那些代码是要在哪里输入啊 ,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>

大佬是不是又有更新了

image

应该是ffmpeg的相关问题 但是我ffmpeg 是可以正常运行的

image

请问 哪里出现问题 导致这个错误出现

系統找不到指定的檔案

擷取
您好,想請教這樣是哪裡有問題呢?下載好的檔案除了TS還有m3u8及key。

不好意思,自己編輯回應,後來有成功解決了。

會員

能問一下目前會員下載進展到哪裏了嗎?

m3u8檔

發布此Issue前請先確定

  1. 版本為最新版
  2. 是否已安裝相關套件

電腦環境
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'

是執行方式有什麼問題嗎

M3u8

發布此Issue前請先確定

  1. 版本為最新版
  2. 是否已安裝相關套件

電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:

問題敘述

錯誤截圖

錯誤Log檔
下載的m3u8文檔好像又沒法用了

keyError

尊敬的作者:
最新版 请测试这个页面 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'

importing

I am getting " no such file or directory" when i try to import linetv.

小问题

21284FD8-C65C-47DC-96B6-C3BACA3B5E73
一直复现这个问题,请问是什么原因呢。

m3u8档

大佬,由于vpn容易波动,所以希望能改一下能只下载到正确的m3u8文档,现在下载的m3u8文档每一个ts前面似乎缺了一部分,导致m3u8文档一直不能正确下载。

How to get Chinese subtitle?

你好,我試著下載影片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檔,裡面的字幕是任何編碼都無法正確顯示的亂碼,只有時間軸是看得懂的
不知道您有沒有什麼看法?

下載失敗

python新手,想請教一下“下載失敗”的原因和解決方法。謝謝

B384DCE6-DFB8-4036-A090-53EA68131DDF

下載硬字幕視頻報錯

發布此Issue前請先確定

  1. 版本為最新版
  2. 是否已安裝相關套件

電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:

問題敘述

錯誤截圖
image

錯誤Log檔

請問現在還能下載嗎?

如題:

因為我一直失敗,
而且我不知道lietv.py怎麼來?
然後cookie也沒有..
目前作業系統win11

image

image

friday

發布此Issue前請先確定

  1. 版本為最新版
  2. 是否已安裝相關套件

電腦環境
Python版本:
FFmpeg版本:
是否有使用VPN:

問題敘述

錯誤截圖

錯誤Log檔
請問大佬有下載friday影音的影片的方法嗎?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.