DOWNLOAD from github or DOWNLOAD from gofile.io
中文 | English
- Home
Downloaded videos will be displayed here.
Page turning function, jump function, search function, editing function, not to repeat. - Player
Click the card on the home page to pop up the playback page
Clicking the image button will generate a video preview image in the background
Click the heart button to bookmark the video
fast forward, volume adjustment - Collect
The favorites on the home page will be displayed here, click to play
- TAg
for video classification
Add button, edit button, delete button, title description, background image. - History
The videos played on the home page are recorded here, click to play them, and jump directly to the last playback point. - Internet download
The premise of downloading is that your network can access this website, and the software does not need to configure a proxy.
From the interface downloaded from the website, if you want to download the video, you only need to copy the link of the play page to enter the box and click Enter. See below for specific operationsg video。!!!Notice!!!
Remember to click the synchronization button on the far right to synchronize your chrome user data to the software directory, In this way, selenium can easily avoid the detection of some verification codes when requesting websites, such as cloudflare verification, Twitter needs to log in to cooikes for verification to download videos. You log in to chrome and then sync to selenium to request twitter is to log in, and it is easy to grab the video link - Setting
Language switching currently supports Chinese and English
The data directory controls where the downloaded videos are stored, and must be an absolute path. It is recommended not to change this, it is more troublesome to chang. - Rule analysis
The parsing rules judge the corresponding rules through the domain name. If a website has multiple domain names, separate them with ','.
type controls whether the download is an m3u8 link or an mp4 link
Regular matching of video resource paths, multiple resources are separated by ',' pic.re the xpath path of the cover pic.value the value of the element Icon corresponding to ico ...
Develop more rule types and applications Please join the discussion group to discuss and learn😁 t.me/h-box - Finally
Like-minded welcome to exchange. - Gif
- h-boxMainly obtain three things from the target website, video title, video cover, video resource link.
- h-box Obtaining video links is not parsing html like ordinary crawlers to obtain resource links. Instead, resources are obtained by monitoring all links sent by the web page and matching regular rules in the rules. So you can write your own rules to download unsupported websites in h-box. The title and cover are obtained by parsing html but also based on written rules, which is very simple. Currently supported video link formats are m3u8 and mp4。
- h-box Use selenium to work in headless mode and non-headless mode (the interface can be selected), Some websites cannot load resources at all in headless mode, and can only choose non-headless mode to manually trigger the webpage to send a video link. This is the main principle。
- chrome, chrome driver, ffmpeg. (chrome driver, ffmpeg) these are already included in the installation package. If the chrome drive does not match your chrome version, please download the corresponding driver and replace it in the installation directory.