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
- Host: GitHub
- URL: https://github.com/chriscarini/ieee-csdl-downloader
- Owner: ChrisCarini
- License: apache-2.0
- Created: 2022-05-30T05:31:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T10:59:33.000Z (over 1 year ago)
- Last Synced: 2024-05-23T06:45:44.058Z (over 1 year ago)
- Language: Python
- Size: 166 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/
```