Skip to content

Instantly share code, notes, and snippets.

@hmble
Created February 2, 2021 08:35
Show Gist options
  • Save hmble/198423d9b2473f0ebfd8644f53a2c69e to your computer and use it in GitHub Desktop.
Save hmble/198423d9b2473f0ebfd8644f53a2c69e to your computer and use it in GitHub Desktop.
const content = document.querySelectorAll('.entry-content > p > a');
content.forEach(e => console.log(e.href))
@hmble
Copy link
Author

hmble commented Feb 2, 2021

use following command to download the file with aria2c

aria2c --continue=true -j 4 -i <input-filename> --auto-file-renaming=false --allow-overwrite=true --console-log-level=error -d <folder-name>

file is like this

https://example.com/link-to-download
  out=<outname>

@hmble
Copy link
Author

hmble commented Feb 2, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment