Code Monkey home page Code Monkey logo

jabletvdownload's People

Contributors

aimeee avatar hcjohn463 avatar jiehong-liu avatar layou233 avatar poseidon0206 avatar rayoct18 avatar riroaki avatar road-tech avatar rykersun avatar tsairongfu avatar vertexi avatar zydmayday 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  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  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  avatar  avatar

jabletvdownload's Issues

影片編碼問題

您好,我想請問一下你爬蟲下來的文件的影片編碼是什麼,
因為把影片匯入致 iTunes 時沒有反應(換句話說,就是匯入後沒有影片出現,但沒有出現錯誤),
後來用轉檔的程式轉檔後就匯入就成功了!

如果把影片爬/載下來還需要再轉檔,可能會有點多此一舉!

謝謝

安裝遇到困難

先感謝大大,造福大家。
不過我在安裝上遇到了問題,因為對python只是個門外漢,
雖然不曉得是不是我自己的問題,但還是請作者和大家幫忙解惑。

在安裝時跳出的錯誤訊息如下:
Running setup.py install for pycryptodome ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-s_fwrosm\pycryptodome_0470f438457449ba946983a18c5f950e\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-s_fwrosm\pycryptodome_0470f438457449ba946983a18c5f950e\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-19ictw75\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\user\appdata\local\programs\python\python39\Include\pycryptodome'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-s_fwrosm\pycryptodome_0470f438457449ba946983a18c5f950e
(中間一堆看來是列出檔案名稱,我就略過了)
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\AppData\Local\Temp\pip-install-s_fwrosm\pycryptodome_0470f438457449ba946983a18c5f950e\setup.py'"'"'; file='"'"'C:\Users\user\AppData\Local\Temp\pip-install-s_fwrosm\pycryptodome_0470f438457449ba946983a18c5f950e\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-19ictw75\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\user\appdata\local\programs\python\python39\Include\pycryptodome' Check the logs for full command output.

還請高手幫忙,謝謝。

运行时提示服务器名称未提供,不知什么原因

Traceback (most recent call last):
File "/Users/fuhiroshi/.conda/envs/untitled/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/Users/fuhiroshi/.conda/envs/untitled/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/Users/fuhiroshi/.conda/envs/untitled/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

希望檔名

希望視頻的檔名是完整的檔名,而不止是番號

打開後出現這段問題

在前幾天的更新都還可以正常使用,但剛剛下載了新的檔案要使用時
打開main.py就跳出此短
Traceback (most recent call last):
File "C:\Users\lion9\Desktop\JableTVDownload-main\JableTVDownload-main\main.py", line 18, in
from encode import encodeMp4
ModuleNotFoundError: No module named 'encode'

煩請高手幫幫忙

Can any help about this issue can't get it

Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "c:\users\user\appdata\local\programs\python\python38\lib\http\client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "c:\users\user\appdata\local\programs\python\python38\lib\http\client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "c:\users\user\appdata\local\programs\python\python38\lib\http\client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "c:\users\user\appdata\local\programs\python\python38\lib\http\client.py", line 1010, in _send_output
self.send(msg)
File "c:\users\user\appdata\local\programs\python\python38\lib\http\client.py", line 950, in send
self.connect()
File "c:\users\user\appdata\local\programs\python\python38\lib\http\client.py", line 1424, in connect
self.sock = self._context.wrap_socket(self.sock,
File "c:\users\user\appdata\local\programs\python\python38\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "c:\users\user\appdata\local\programs\python\python38\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "c:\users\user\appdata\local\programs\python\python38\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1124)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 58, in
urllib.request.urlretrieve(m3u8url, m3u8file)
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "c:\users\user\appdata\local\programs\python\python38\lib\urllib\request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1124)>

執行緒過多被ISP封鎖

前幾天嘗試下載 每次都是下載到一半停止 登錄寬頻賬號發現連結被ISP截停
之後把
crawler.py 裏面 max_workers=20 改成max_workers=5 或者 max_workers=10 就沒事了

請問這是甚麼問題

Rolling back uninstall of pycryptodome
Moving to c:\program files\python39\lib\site-packages\crypto
from C:\Program Files\Python39\Lib\site-packages~rypto
Moving to c:\program files\python39\lib\site-packages\pycryptodome-3.10.1.dist-info
from C:\Program Files\Python39\Lib\site-packages~ycryptodome-3.10.1.dist-info
ERROR: Command errored out with exit status 1: 'c:\program files\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mark\AppData\Local\Temp\pip-install-4ozt481j\pycryptodome\setup.py'"'"'; file='"'"'C:\Users\Mark\AppData\Local\Temp\pip-install-4ozt481j\pycryptodome\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Mark\AppData\Local\Temp\pip-record-y2paket8\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\program files\python39\Include\pycryptodome' Check the logs for full command output.

下戴時間計算詢問

您好
感謝板主造福大家。

1
想詢問剛開始下戴的"預計等待時間"是怎麼算的呢? 比如說是先假設某個網速算出來?
一部片850mb花16.92分鐘,是預期的嗎? 想知道是不是我的網路問題(我的下戴200MB/上行40MB via speed test)

輸入jable網址:https://jable.tv/videos/adn-248/
開始下載 1139 個檔案..預計等待時間: 7.59 分鐘視影片長度與網路速度而定)
當前下載: 788344.ts , 剩餘 1 個個
花費 16.92 分鐘 爬取完成 !
開始合成影片..
花費 5.16 秒合成影片
下載完成!

2
另外我有下戴ffmpeg 放在main.py的目錄,但下戴下來後,發現我拖拉影片還是會卡
手動透過ffmpeg 轉檔後,拖拉時就不會卡,
ffmpeg -i ipx-486.mp4 -c:v libx264 -b:v 3M -threads 5 -preset superfast f_ipx-486.mp4

這也是預期行為嗎? 還是我一開始下戴時 並沒有吃到ffmpeg?

感謝大大

check_hostname requires server_hostname

Traceback (most recent call last):
File "main.py", line 47, in
htmlfile = requests.get(url)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\requests\api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\requests\sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\requests\sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\urllib3\connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy
conn.connect()
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\urllib3\connection.py", line 359, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\urllib3\connection.py", line 506, in connect_tls_proxy
ssl_context=ssl_context,
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\urllib3\util\ssl
.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\site-packages\urllib3\util\ssl
.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\ssl.py", line 377, in wrap_socket
_context=self)
File "C:\Users\kame9\AppData\Local\Programs\Python\Python35-32\lib\ssl.py", line 710, in init
raise ValueError("check_hostname requires server_hostname")
ValueError: check_hostname requires server_hostname

[WinError 2] 系統找不到指定的檔案。

我是影片有成功下載下來
但當開始合成影片時
會出現下列代碼
Traceback (most recent call last):
File "main.py", line 131, in
encodeMp4(folderPath)
File "C:\Users\test\Downloads\JableTVDownload-main\encode.py", line 21, in encodeMp4
.output(needFile, **output_args)
File "C:\Users\test\AppData\Local\Programs\Python\Python36\lib\site-packages\ffmpeg_run.py", line 320, in run
overwrite_output=overwrite_output,
File "C:\Users\test\AppData\Local\Programs\Python\Python36\lib\site-packages\ffmpeg_run.py", line 285, in run_async
args, stdin=stdin_stream, stdout=stdout_stream, stderr=stderr_stream
File "C:\Users\test\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 729, in init
restore_signals, start_new_session)
File "C:\Users\test\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 1017, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系統找不到指定的檔案。
不知是哪個步驟錯了?

Exception has occurred: URLError, [SSL: CERTIFICATE_VERIFY_FAILED] 其他影片正常下載,但這部會出問題,簡易解決方法

環境: windows10、python 3.9.7

一開始使用是正常的,如圖:
圖片

這一部好像有點問題
圖片

查到這篇文章,並在main.py line:60附近加入這行
ssl._create_default_https_context = ssl._create_unverified_context

import ssl
...
# 儲存 m3u8 file 至資料夾
m3u8file = os.path.join(folderPath, dirName + '.m3u8')
ssl._create_default_https_context = ssl._create_unverified_context
urllib.request.urlretrieve(m3u8url, m3u8file)

然後就恢復正常使用了,不曉得是不是我自己的環境問題,單純來回報一下
圖片

合成时间问题

[aac @ 0000022e9d6a4d80] Qavg: 666.657
花費 369.48 秒合成影片

安装了ffmpeg后,不知为何合成时间相比之前的版本大大增加了

網頁更新!?

網頁好像更新了......>.<"
Traceback (most recent call last):
File "main.py", line 49, in
m3u8url = result[0]
TypeError: 'NoneType' object is not subscriptable
(--感謝作者大--)

ffmpeg 轉檔優化參數設定

Hi! 感謝你寫的這個 code,造福萬萬千千人R

我想請教一下,關於 ffmpeg 轉檔參數

ffmpeg -i ipx-486.mp4 -c:v libx264 -b:v 3M -threads 5 -preset superfast f_ipx-486.mp4

這幾行我看不太懂,請問是否有相關 document 可以參考?

我自己轉檔的過程中發現,到了後半部的影片會沒有聲音...蠻嚴重的,感謝你

网站关停了吗?

这两天打开是空白网站,有能上的小伙伴吗?我用的日本的vpn,也可能是日本封了这个网站

RuntimeError: Sorry "firefox" browser was not found with a platform of "ios".

有網友分享,多試幾次就可以~
而自己測試的結果,也是只要再開啟下載程式,多試個幾次總會成功的!
但因為另一個網友分享的「批次下載」的版本,而自己也修改成功了!
而使用批次下載時,如果出現這個錯誤,程式就會中止,
所以想請問大大,是不是可以把這個狀況寫進程式來排除,
如果遇到這個錯誤,則自己再重試一次或數次……。

謝謝大家!

什么情况?

File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\requests\adapters.py", line 439, in send
resp = conn.urlopen(
File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\urllib3\connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy
conn.connect()
File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\urllib3\connection.py", line 359, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\urllib3\connection.py", line 500, in connect_tls_proxy
return ssl_wrap_socket(
File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\urllib3\util\ssl
.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "C:\Users\ALIENWARE\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\urllib3\util\ssl
.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\ssl.py", line 997, in _create
raise ValueError("check_hostname requires server_hostname")
ValueError: check_hostname requires server_hostname

crypto错误

hi

今天尝试安装,但到了main.py 的:
14. from Crypto.Cipher import AES
就显示错误了。
环境是python3. 其它都安装了,只有pycryptodome==3.4.3一直不成功,包括手动,pip list 显示已经安装pycryptodome3.10.1
请问怎么解决?

谢谢

解决办法: Sorry "firefox" browser was not found with a platform of "ios".

首先感谢作者突破五秒盾的方法,后来这个报错让我也很头疼,就去查了些资料,发现更改broswer参数可以避开报错。
header = {
'browser' : 'firefox' ,
'platform' : 'windows' ,
'mobile' : False
}
response = cloudscraper.create_scraper(browser=header, delay=10).get(url=self.URL, proxies=requests_dict['googleProxy']).text
大家可以试一下。

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.