[Enhancement] Way to download files embed in the HTML without triggering DDOS
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 579
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
The way I do it is rather simple.
1. Activate in my .env file to download the "post.json" file of each post to obtain its details
2. Search for the text "src=" trought every "post.json" as this piece of text points towards the images that are not detectable easily from KToolBox are, this way not having to filter trough every post for them
3. Copy the URL of the embed image and download it
Im not too sure how implementable this would be in the current iteration of KToolBox to do all this automatically, but im just giving the idea out from these two here: https://github.com/Ljzd-PRO/KToolBox/issues/218#issuecomment-3140337212 & https://github.com/Ljzd-PRO/KToolBox/releases/tag/v0.21.1 as the job "job.extract_content_images" can trigger DDOS and this perhaps could fix it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the .env download option and the job.extract_content_images job, then compare the approach described in post.json and the linked issue and release notes. Done means embedded image URLs can be found and downloaded automatically without triggering the DDOS concern.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100