mirror of
https://github.com/tiennm99/MTTools.git
synced 2026-10-04 09:01:13 +00:00
docs(readme): add input format, output behavior, and variant notes
This commit is contained in:
1 parent
80023a9a6c
commit
b4e1131dac
1 file changed
+9
-1
@@ -13,7 +13,15 @@ npm install
|
||||
node download_images.js
|
||||
```
|
||||
|
||||
Edit the script to set the source URLs and target directory.
|
||||
Edit the script to set the source URLs and target directory before running.
|
||||
|
||||
## Input format
|
||||
|
||||
Both variants read a hardcoded list of image URLs defined at the top of each script. Edit the URL array in `download_images.py` or `download_images.js` to point at your images and set the output directory path.
|
||||
|
||||
## Output behavior
|
||||
|
||||
Images are saved into the configured output directory, named by their original filename from the URL. Existing files are overwritten. The Python variant uses `requests`; the JS variant uses `axios` + `fs.createWriteStream`.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in new issue
Block a user