TangentFoxy / TangentFoxy/lua-scripts
download-subtitles.lua: Check downloaded files for failures and re-queue them / abandon processing
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
If a file starts with <!doctype html>, then the download has failed.
This should stop processing, and the script should check for existing files before processing each. This will make it resumable. The initial loop loading the list should also check for duplicates and re-save the file without duplicates if duplicates are found.
Contributor guide
No contributing guide indexed for this repository
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 download-subtitles.lua, especially the initial loop that loads the list and the processing loop for downloads. Trace how files are handled before and after downloading. Done means failed HTML downloads stop processing, existing files are checked so work can resume, and duplicate list entries are removed before the list is saved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100