A PHP web app for cataloging video content with bulk scraping.
https://github.com/Svenlaa/clibpack.git
A PHP web app for cataloging video content with on-demand scraping.
Note: Personal project for learning web scraping and database design. Built to scrape from a specific video e-commerce site.
ink): Batch scraping and bulk operationsink - CLI tool for scrapingapp/controllers/ - Request handlersapp/scraper/ - Scraping logicapp/views/ - HTML templatesapp/kernel/ - Routing and viewsapp/db/ - Database stuffclips/ - Local video files (gitignored)php app/db/migrate.php
Use --fresh flag to drop all tables and recreate:
php app/db/migrate.php --fresh
Scrape content by ID:
php ink scrape 123456 789012
Mark local media as purchased:
php ink buy
Access the application through your web server. The main routes are:
/ - List all content/?clip_id={id} - View specific item/?view=purchased - List purchased items only/?view=wishlist - List wishlist items only/?model_id={id} - Filter by creator&json or set Accept: application/json header for JSON responses.