https://github.com/muhamed-didovic/eddown
educative.io downloader or scraper
https://github.com/muhamed-didovic/eddown
educative-dowloader educative-scraper educativeio-downloader educativeio-scraper
Last synced: 5 months ago
JSON representation
educative.io downloader or scraper
- Host: GitHub
- URL: https://github.com/muhamed-didovic/eddown
- Owner: muhamed-didovic
- License: mit
- Created: 2022-09-04T21:59:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-10T10:27:44.000Z (over 1 year ago)
- Last Synced: 2024-11-16T18:38:12.043Z (6 months ago)
- Topics: educative-dowloader, educative-scraper, educativeio-downloader, educativeio-scraper
- Language: JavaScript
- Homepage:
- Size: 1.38 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Downloader and scraper for educative.io for pro members
[](https://www.npmjs.com/package/eddown)
[](https://www.npmjs.org/package/eddown)
[](https://hits.seeyoufarm.com)
[](https://github.com/muhamed-didovic/eddown/blob/main/LICENSE)## Requirements
- nodejs version >= 18## Install
```sh
npm i -g eddown
```#### without Install
```sh
npx eddown
```## CLI
```sh
Usage
$ eddown [CourseUrl]Options
--all, -a Get all courses from particular school or provider.
--email, -e Your email.
--password, -p Your password.
--directory, -d Directory to save.
--file, -f Location of the file where are the courses
--overwrite, -o Overwrite if resource exists (values: 'yes' or 'no'), default value is 'no'
--headless, -h Enable headless (values: 'yes' or 'no'), default value is 'yes'
--html, -t Enable html download (values: 'yes' or 'no'), default value is 'yes'
--concurrency, -cExamples
$ eddown
$ eddown -a
$ eddown [url] [-l url...] [-e [email protected]] [-p password] [-d dirname] [-c number] [-o yes or no] [-h yes or no] [-t yes or no]
```## Log and debug
This module uses [debug](https://github.com/visionmedia/debug) to log events. To enable logs you should use environment variable `DEBUG`.
Next command will log everything from `scraper`
```bash
export DEBUG=scraper*; eddown
```Module has different loggers for levels: `scraper:error`, `scraper:warn`, `scraper:info`, `scraper:debug`, `scraper:log`. Please read [debug](https://github.com/visionmedia/debug) documentation to find how to include/exclude specific loggers.
## License
MIT