An open API service indexing awesome lists of open source software.

https://github.com/chriscarini/ieee-csdl-downloader

IEEE Computer Society Digital Library Downloader
https://github.com/chriscarini/ieee-csdl-downloader

Last synced: 7 months ago
JSON representation

IEEE Computer Society Digital Library Downloader

Awesome Lists containing this project

README

          

# IEEE Computer Society Digital Library Downloader

## 🛠️ Setup

1. Visit [https://www.computer.org/csdl/home](https://www.computer.org/csdl/home) and login
2. Run the below JavaScript in the console, and copy it's value into the respective configuration value in
`config.yaml`.
```javascript
`; ${document.cookie}`.split('; CSDL_AUTH_COOKIE=').pop().split(';').shift()
```
3. Visit [https://spectrum.ieee.org/magazine/](https://spectrum.ieee.org/magazine/) and login
4. Open `Chrome Developer Tools > Application Tab > Cookies` and copy the `sessionid` cookie value into the respective
configuration value in `config.yaml`.
5. Run the download:
```shell
source venv/bin/activate && \
python3 -m ieee_csdl_downloader.download
```

## 🤓 Hacking

### Getting Setup

```shell
./init.sh
```

### Saving Dependencies

```shell
source activate
pip-chill > requirements.txt
```

### Running linting and tests

```shell
./lint.sh && pytest test/
```