GithubHelp home page GithubHelp logo

2niuhe / jable_downloader Goto Github PK

View Code? Open in Web Editor NEW
83.0 83.0 21.0 327 KB

download jable tv crawler tool 下载jable视频脚本爬虫工具 下載 jable視頻腳本爬蟲工具

License: Apache License 2.0

Python 83.34% Go 7.95% Makefile 8.71%
jable jabledownload jabletv jabletvdownload python

jable_downloader's Introduction

Less is more.

Hi there 👋

  • 🌱 I’m currently learning Distributed Training (Machine Learning)
  • 📫 How to reach me: [email protected]

2024 TODO list

  • 写一本书
  • 学习分布式训练
  • Distributed Systems mit6.824
  • 减肥增肌/增强腿部和核心力量

jable_downloader's People

Contributors

2niuhe 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

Watchers

 avatar

jable_downloader's Issues

ffmpeg使用硬件加速的方式进行解码和转码

首先,转码一遍后拖进度条播放确实不卡了。
使用ffmpeg -hwaccels命令查看支持的硬件加速选项
下面我使用cuvid的选项,以H.264解码后转码H.265
ffmpeg -hwaccel cuvid -c:v h264_cuvid -i .\DNJR-081.mp4 -c:v hevc_nvenc -y .\DNJR-081.mkv
笔记本端GTX3060转码1.8G两小时时长视频耗时3分钟,参数说明
-hwaccel cuvid:指定使用cuvid硬件加速
-c:v h264_cuvid:使用h264_cuvid进行视频解码
-c:v h264_nvenc:使用h264_nvenc进行视频编码
这两种编码方式可以运行ffmpeg -codecs输出到管道过滤 cuvid查到,decoders为解码输入参数,encoders是编码输入参数
H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv h264_cuvid ) (encoders: libx264 libx264rgb h264_amf h264_mf h264_nvenc h264_qsv )

H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_qsv hevc_cuvid ) (encoders: libx265 hevc_amf hevc_mf hevc_nvenc hevc_qsv )

另外,快速编码H.265
ffmpeg -hwaccel cuvid -i DNJR-081.mp4 -vcodec hevc_nvenc -y DNJR-081-h265.mp4

scrapingant申请token方法

截屏2023-04-16 09 12 38

将上边红色区域的token,填到配置文件sa_token字段中即可,免费用户每月可以发起1000次请求,足够个人使用。

使用selenium用浏览器模拟用户操作会在本地打开网址,不太方便,因此选择第三方服务解决Javascript和Cookie问题

下載速度異常

Hello 作者

非常感謝你製作出優良的作品,由衷感激

這邊遇到一個問題,常常下載一半會停住不動,大概過了5分鐘左右,然後又會繼續跑下載

請問這方面的問題會是什麼嗎

謝謝

有视频无法合成,没看出来什么端倪

开始合成视频...
Traceback (most recent call last):
File "Z:\jable_downloader-main\jable_downloader-main\main.py", line 36, in
args.func(args)
File "Z:\jable_downloader-main\jable_downloader-main\executor.py", line 110, in process_subscription
video_crawler.download_by_video_url(download_url)
File "Z:\jable_downloader-main\jable_downloader-main\video_crawler.py", line 161, in download_by_video_url
merge_mp4(tmp_dir_name, output_dir, video_full_name, ts_list)
File "Z:\jable_downloader-main\jable_downloader-main\utils.py", line 112, in merge_mp4
with open(os.path.join(output_path, video_name + '.mp4'), 'ab') as f2:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'Z:\jable_downloader-main\jable_downloader-main\GMEM-015 狂気拷問処刑 Episode02:悪魔の媚薬に暴かれし神秘の肉体 悲愴!逝き晒し処刑 孤高の女捜査官 奏自由.mp4'

有几个视频都无法合成,可能是文件名太长了?

开始合成视频...
Traceback (most recent call last):
File "Z:\jable_downloader-main\jable_downloader-main\main.py", line 36, in
args.func(args)
File "Z:\jable_downloader-main\jable_downloader-main\executor.py", line 110, in process_subscription
video_crawler.download_by_video_url(download_url)
File "Z:\jable_downloader-main\jable_downloader-main\video_crawler.py", line 155, in download_by_video_url
merge_mp4(tmp_dir_name, output_dir, video_full_name, ts_list)
File "Z:\jable_downloader-main\jable_downloader-main\utils.py", line 112, in merge_mp4
with open(os.path.join(output_path, video_name + '.mp4'), 'ab') as f2:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'Z:\jable_downloader-main\jable_downloader-main\DVDMS-493 催 ●術でご近所の巨乳妻を90日間にわたってオーガズム洗脳 2 乳首イキ/喉奥イラマイキ/脳イキを繰り返しのけぞり絶頂した寝取られ 妻は自ら子宮に中出しを求める 三原穗香.mp4'

download error

error log:
Traceback (most recent call last):
File "main.py", line 5, in
from executor import process_subscription, process_videos
File "/opt/jable_downloader/executor.py", line 59
SyntaxError: Non-ASCII character '\xe5' in file /opt/jable_downloader/executor.py on line 59, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

下载无反应

python main.py videos https://jable.tv/videos/mogi-061/
Traceback (most recent call last):
File "E:_Downloads_BT\av\jable_downloader\main.py", line 36, in
args.func(args)
File "E:_Downloads_BT\av\jable_downloader\executor.py", line 145, in process_videos
video_crawler.download_by_video_url(video_url)
File "E:_Downloads_BT\av\jable_downloader\video_crawler.py", line 106, in download_by_video_url
page_res = utils.cloudscraper_requests_get(url, retry=5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:_Downloads_BT\av\jable_downloader\utils.py", line 76, in cloudscraper_requests_get
time.sleep(120 * i)
KeyboardInterrupt

设置了token也不见消耗

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.