您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Download complete novels from Dreame.com as a text file (placeholder for EPUB)
It adds a "Download Novel" button to the Dreame.com novel pages.
• When clicked, it starts a download process that fetches each chapter sequentially.
• There's a configurable delay between chapter fetches (2.5 seconds) to be respectful to the website's servers.
• The script scrapes the novel's title, individual chapter titles, and their content (paragraphs) from the page.
• Once all chapters are scraped, the data is compiled into plain text format and triggers a download of a .txt file. The filename is sanitized to ensure compatibility.
• The script includes CSS styling for the download button to ensure it's prominently visible and functional.
• It notes that the script relies on CSS selectors to find elements, which might need updates if the Dreame website structure changes.