Usage: https://github.com/xiaoguyu/wechatDownload
Single article download
Simply enter the link and click the download button
This method does not require logging into WeChat, so it cannot obtain comments and QQ music audio in the article. If you need these two data, please use batch download or monitoring download
Batch download
Please install the certificate for first-time use, Settings → Open certificate path → Open rootCA.crt file
Need to install the PC version of WeChat
Click the batch download button to start monitoring WeChat official account data
Open an article that needs to be downloaded in the PC version of WeChat
Go back to WechatDownload, a dialog box will pop up
Monitoring download
Need to install the PC version of WeChat
Click the monitoring download button in WechatDownload (the button will change color)
Open the article that needs to be downloaded in the PC version of WeChat (multiple articles can be opened)
Go back to WechatDownload, click the monitoring download button again to start downloading
Save to MySql
Execute the SQL statements in the /doc/mysql.sql file to create the table
Thread configuration
Time interval: in milliseconds, assuming a time interval of 500, for a single thread, it downloads one article and waits for 500 milliseconds before continuing to download. For multiple threads, it asynchronously downloads articles every 500 milliseconds without waiting for the previous article to finish downloading.
Batch size: assuming a batch size of 10, it will asynchronously download 10 articles at the same time. After these 10 articles are downloaded, it will continue to download the next 10.
Features
Supports whatever is available in the settings center
Supports selecting the download range
Convert web pages to HTML, Markdown, PDF
Save web page source code to MySql (only valid for network sources)
Download images and audio to local storage
Add original link and metadata (author, time, official account name)
Skip existing articles
Download comments
Download source (this option only affects batch download):
Network: retrieve articles from WeChat API
Database: if the option to save to MySql is selected, the web page source code will be saved in the database. If you need to convert the source code to HTML or Markdown, select the database as the download source. (Using WeChat API frequently may result in restrictions)