laradown
v0.12.4
Published
Downloader and scraper for Laracasts.com for pro members
Downloads
114
Maintainers
Readme
Downloader and scraper for Laracasts.com for pro members
Requirement
- Node 18
- yt-dlp (https://github.com/yt-dlp/yt-dlp)
Install
npm i -g laradown
without Install
npx laradown
CLI
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, -c
Examples
$ 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 to log events. To enable logs you should use environment variable DEBUG
.
Next command will log everything from scraper
export DEBUG=scraper*; laradown
Module has different loggers for levels: scraper:error
, scraper:warn
, scraper:info
, scraper:debug
, scraper:log
. Please read 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]