Api and cli that scrapes content from video providers.
You need curl-impersonate for being able to run the wcofun provider using: export LD_PRELOAD=/usr/lib/libcurl-impersonate-chrome.so
Similar projects:
Make sure $(go env GOPATH)
is on your PATH
and run:
go install github.com/matheusfillipe/blackbeard@latest
Then check the help with blackbeard -h
To get cloudflare blocked providers to work you need curl-impersonate. On archlinux you can: yay -S curl-impersonate-chrome
.
After curl-impersonate is installed, run it like:
LD_PRELOAD=/usr/local/lib/libcurl-impersonate-chrome.so blackbeard
You can run or connect to an api using either -api
or -connect
. You can also adjust -port
and -host
. If you just run it without arguments you will have an interactive fuzzy interface similar to fzf that will let you download whatever episode. You can mark multiple episodes by hitting or holding TAB
.
You can test this without having to compile curl-impersonate using the heroku api:
blackbeard -connect https://blackbeard.fly.dev/
List providers
blackbeard -list
Search and output to stdout
blackbeard -provider wcofun -search "attack on titan" -list
If you remove the -list
it will go to the fzf prompt and proceed to download
List episodes for a show
blackbeard -provider wcofun -search "attack on titan" -show 1 -list
Download an ep directly, no prompt
blackbeard -provider wcofun -search "attack on titan" -show 1 -ep 1
Download all episodes with 4 downloads in parallel using the api to scrape
blackbeard -provider wcofun -search "attack on titan" -show 1 -D -x 4 -connect https://blackbeardapi.herokuapp.com/
The app is purely for educational and personal use. It merely scrapes 3rd-party websites that are publicly accessible via any regular web browser. It is the responsibility of user to avoid any actions that might violate the laws governing his/her locality. Use this at your own risk.
- Cli arg parsing
- http api
- Profiles that store watch history
- wcofun provider
- m3u8 downloader https://github.com/canhlinh/hlsdl
- headless browser
- 9anime provider
- soap2day provider
- More providers