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:
christoshadjiaslanis
2020-03-28 04:45:44 +00:00
committed by GitHub
parent c1debdd00d
commit d8c4b140a2
3 changed files with 80 additions and 0 deletions

View File

@@ -108,6 +108,18 @@ Reading a paper is not the same as reading a blogpost or a novel. Here are a few
* Love a Paper - [@loveapaper](https://twitter.com/loveapaper)
### Download papers
Open your favourite terminal and run:
```bash
$ ./scripts/download.sh
```
This will scrape markdown files for links to PDFs and download papers to their respective directories.
See [README.md](./scripts/README.md) for more options.
## Contributing Guidelines
Please take a look at our [CONTRIBUTING.md](https://github.com/papers-we-love/papers-we-love/blob/master/.github/CONTRIBUTING.md) file.