Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muhamed-didovic/laradown
Course downloader for laracarsts.com platform written in nodejs using puppeteer and yt-dlp
https://github.com/muhamed-didovic/laradown
downloader laracasts laracasts-dl laracasts-download laracasts-downloader laracasts-scraper laravel scraper
Last synced: about 1 month ago
JSON representation
Course downloader for laracarsts.com platform written in nodejs using puppeteer and yt-dlp
- Host: GitHub
- URL: https://github.com/muhamed-didovic/laradown
- Owner: muhamed-didovic
- License: mit
- Created: 2021-12-17T08:56:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T13:04:20.000Z (11 months ago)
- Last Synced: 2024-11-03T08:52:02.699Z (2 months ago)
- Topics: downloader, laracasts, laracasts-dl, laracasts-download, laracasts-downloader, laracasts-scraper, laravel, scraper
- Language: JavaScript
- Homepage:
- Size: 831 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![npm](https://badgen.net/npm/v/laradown)](https://www.npmjs.com/package/laradown)
[![Downloads](https://img.shields.io/npm/dm/laradown.svg?style=flat)](https://www.npmjs.org/package/laradown)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fmuhamed-didovic%2Flaradown&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
[![license](https://flat.badgen.net/github/license/muhamed-didovic/laradown)](https://github.com/muhamed-didovic/laradown/blob/main/LICENSE)# Downloader and scraper for Laracasts.com for pro members
## Requirement
- Node 18
- yt-dlp (https://github.com/yt-dlp/yt-dlp)## Install
```sh
npm i -g laradown
```#### without Install
```sh
npx laradown
```## CLI
```sh
Usage
$ laradown [CourseUrl]Options
--all, -a Download everything from browse/all and search APIs.
--email, -e Your email.
--password, -p Your password.
--directory, -d Directory to save.
--file, -f Location of the file where are the courses
--concurrency, -cExamples
$ laradown
$ laradown -a
$ laradown https://laracasts.com/series/php-testing-jargon -t course
$ [DEBUG=scraper*] laradown [-e [email protected]] [-p password] [-d dirname] [-c number] [-f path-to-file]
```## 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*; laradown
```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## Need help
If you require assistance with an existing scraper/crawler, need to develop a new one, or have any other programming-related inquiries, please don't hesitate to reach out to me: [[email protected]](mailto:[email protected])