hcjohn463 / jabletvdownload Goto Github PK
View Code? Open in Web Editor NEW下載 jable好幫手
License: Apache License 2.0
下載 jable好幫手
License: Apache License 2.0
能否考虑增加一个arm64版docker镜像
您好,我想請問一下你爬蟲下來的文件的影片編碼是什麼,
因為把影片匯入致 iTunes 時沒有反應(換句話說,就是匯入後沒有影片出現,但沒有出現錯誤),
後來用轉檔的程式轉檔後就匯入就成功了!
如果把影片爬/載下來還需要再轉檔,可能會有點多此一舉!
謝謝
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)>
#出现了之前Firefox的问题 #40
htmlfile = cloudscraper.create_scraper(delay=8).get(url)
作者您好
網頁代碼好像又更新
在前幾天的更新都還可以正常使用,但剛剛下載了新的檔案要使用時
打開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'
煩請高手幫幫忙
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
在ARM linux上无法使用。
修改main.py中的htmlfile = cloudscraper.create_scraper(browser='firefox', delay=10).get(url)
为htmlfile = cloudscraper.create_scraper(browser='chrome', delay=10).get(url)
后可以正常使用。
先感謝大大,造福大家。
不過我在安裝上遇到了問題,因為對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.
還請高手幫忙,謝謝。
希望視頻出來是指定的碼率(比如700kbps以下)
这两天打开是空白网站,有能上的小伙伴吗?我用的日本的vpn,也可能是日本封了这个网站
希望視頻的檔名是完整的檔名,而不止是番號
多线操作,最为致命
網頁好像更新了......>.<"
Traceback (most recent call last):
File "main.py", line 49, in
m3u8url = result[0]
TypeError: 'NoneType' object is not subscriptable
(--感謝作者大--)
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
小白看不懂怎么操作
[aac @ 0000022e9d6a4d80] Qavg: 666.657
花費 369.48 秒合成影片
安装了ffmpeg后,不知为何合成时间相比之前的版本大大增加了
有網友分享,多試幾次就可以~
而自己測試的結果,也是只要再開啟下載程式,多試個幾次總會成功的!
但因為另一個網友分享的「批次下載」的版本,而自己也修改成功了!
而使用批次下載時,如果出現這個錯誤,程式就會中止,
所以想請問大大,是不是可以把這個狀況寫進程式來排除,
如果遇到這個錯誤,則自己再重試一次或數次……。
謝謝大家!
test
環境: 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)
pip install -r requirements.txt時
不知道為何出現這個錯誤,
解法
1.pip uninstall crypto
2.pip uninstall pycrypto
3.用系統管理員開啟cmd
4.pip install pycryptodome
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
rt
前幾天嘗試下載 每次都是下載到一半停止 登錄寬頻賬號發現連結被ISP截停
之後把
crawler.py 裏面 max_workers=20 改成max_workers=5 或者 max_workers=10 就沒事了
首先感谢作者突破五秒盾的方法,后来这个报错让我也很头疼,就去查了些资料,发现更改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
大家可以试一下。
Hi! 感謝你寫的這個 code,造福萬萬千千人R
我想請教一下,關於 ffmpeg 轉檔參數
ffmpeg -i ipx-486.mp4 -c:v libx264 -b:v 3M -threads 5 -preset superfast f_ipx-486.mp4
這幾行我看不太懂,請問是否有相關 document 可以參考?
我自己轉檔的過程中發現,到了後半部的影片會沒有聲音...蠻嚴重的,感謝你
很奇怪, 没法退出命令, 所以只能结束进程了
我是影片有成功下載下來
但當開始合成影片時
會出現下列代碼
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] 系統找不到指定的檔案。
不知是哪個步驟錯了?
hi
今天尝试安装,但到了main.py 的:
14. from Crypto.Cipher import AES
就显示错误了。
环境是python3. 其它都安装了,只有pycryptodome==3.4.3一直不成功,包括手动,pip list 显示已经安装pycryptodome3.10.1
请问怎么解决?
谢谢
这样的话,下载好了看片找片方便的多
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.
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.