mirror of
https://github.com/papers-we-love/papers-we-love.git
synced 2026-03-02 03:40:31 +00:00
Added script to download all (pdf) papers locally (#597)
* Added script to download all PDFs from the Readmes * Removed sleep * Formatting * Added guard closes and some docs to download script. Added it to scripts folder. Added download script readme. Added section in root readme. * Removed old download_all.sh * Added support for specifying which directories you want to download. * Removed dependency on xargs. * Changed filename to download.sh. Updated READMEs. * More README * Fixed download.sh logic for multiple arguments. Removed Readme section about executing script from anywhere. Updated the parsing of URLs to be more specific.
This commit is contained in:
committed by
GitHub
parent
c1debdd00d
commit
d8c4b140a2
22
scripts/README.md
Normal file
22
scripts/README.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Scripts
|
||||
|
||||
Scripts for working with repository content.
|
||||
|
||||
## Download Utility
|
||||
A convenience script to download papers. This will scrape the README.md files for URLs containing links to pdfs and download them to their respective directories.
|
||||
|
||||
The download utility is idempotent and can be run multiple times safely.
|
||||
|
||||
### Usage
|
||||
Open your favourite terminal and run:
|
||||
|
||||
```bash
|
||||
$ ./scripts/download.sh
|
||||
```
|
||||
|
||||
|
||||
Optionally, to download specific topics specify their directories as arguments:
|
||||
|
||||
```bash
|
||||
$ ./scripts/download.sh android concurrency
|
||||
```
|
||||
Reference in New Issue
Block a user