- Migrated sto scraper to Playwright Firefox (puppeteer 24 is Chromium-only and DDOS-Guard blocks Chromium) - Handle tab-scoped auth by reusing the authenticated page - Add npm run list:series to summarize scraped data (series + watched eps)
30 lines
937 B
JSON
30 lines
937 B
JSON
{
|
|
"name": "sto-scraper",
|
|
"description": "Modernized scraper for s.to and aniworld.to with separate site support",
|
|
"version": "2.0.0",
|
|
"scripts": {
|
|
"webviewer": "http-server -p 8080 data -o",
|
|
"scrape:sto": "npx ts-node src/scrapers/scraper-sto.ts",
|
|
"scrape:aniworld": "npx ts-node src/scrapers/scraper-aniworld.ts",
|
|
"scrape:sto:limit": "npx ts-node src/scrapers/scraper-sto.ts 5",
|
|
"scrape:aniworld:limit": "npx ts-node src/scrapers/scraper-aniworld.ts 5",
|
|
"list:series": "npx ts-node src/scripts/list-series.ts"
|
|
},
|
|
"dependencies": {
|
|
"dotenv": "17.4.2",
|
|
"playwright": "^1.62.1",
|
|
"puppeteer": "^24.42.0",
|
|
"ts-node": "10.9.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "25.6.0",
|
|
"http-server": "14.1.1",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Kamiikaze/sto-scraper.git"
|
|
},
|
|
"author": "Kamiikaze",
|
|
"license": "MIT"
|
|
}
|