27 lines
519 B
Markdown
27 lines
519 B
Markdown
# HappyFappy Bookmarks Scraper
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
python3.12 -m venv .venv
|
|
source .venv/bin/activate
|
|
python -m pip install -U pip
|
|
python -m pip install -r requirements.txt
|
|
scrapling install
|
|
```
|
|
|
|
## Run
|
|
|
|
```bash
|
|
.venv/bin/python scrape_happyfappy_bookmarks.py --cookie-file cookies.txt --output bookmarks.json
|
|
```
|
|
|
|
## Download Single Torrent
|
|
|
|
```bash
|
|
.venv/bin/python download_happyfappy_torrent.py \
|
|
--url "https://www.happyfappy.net/torrents.php?id=110178" \
|
|
--cookie-file cookies.txt \
|
|
--output-dir torrent
|
|
```
|