Skip to content

Commit

Permalink
Merge pull request #15 from niemands/galleryScrape
Browse files Browse the repository at this point in the history
Add gallery scraping support to the bulk_url_scraper plugin
  • Loading branch information
niemands authored Jul 27, 2021
2 parents d436aac + f925912 commit d78e720
Show file tree
Hide file tree
Showing 4 changed files with 317 additions and 215 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Plugin config | Description |
----------------------- | --------------------------------------------------- | --------
set_ph_urls.yml | Add urls to pornhub scenes downloaded by Youtube-dl |
gallerytags.yml | Copy information from attached scene to galleries |
bulk_url_scraper.yml | Bulk scene url scraping | Config (/py_plugins/config.py) has to be edited manually, until plugin parameters get implemented
bulk_url_scraper.yml | Bulk scene and gallery url scraping | Config (/py_plugins/config.py) has to be edited manually, until plugin parameters get implemented
update_image_titles.yml | Update all image titles (Fixes natural sort) |
yt-dl_downloader.yml | Download Videos automated with yt-dl and add the scrape tag for burl_url_scraper | Config files in yt-dl_downloader/ folder. Add all urls line by line to urls.txt and change download dir in config.ini |

Expand Down
12 changes: 6 additions & 6 deletions bulk_url_scraper.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Bulk Scene URL scraper
description: Scrape scene information for all scenes with the "scrape" tag
version: 1.1
description: Scrape information for all scenes and galleries with the "scrape" tag
version: 2.0
url: https://github.com/niemands/StashPlugins
exec:
- python
- "{pluginDir}/py_plugins/bulk_url_scraper.py"
interface: raw
tasks:
- name: Create scrape tag
description: Create the "scrape" tag. Add this tag to all scenes that should be scraped. These scenes require the url field to be set
description: Create the "scrape" tag. Add this tag to all scenes and galleries that should be scraped. These require the url field to be set
defaultArgs:
mode: create
- name: Remove scrape tag
description: Removes the "scrape" tag from all scenes and deletes the tag.
description: Removes the "scrape" tag from all scenes and galleries and deletes the tag.
defaultArgs:
mode: remove
- name: Scrape scenes
description: Scrape scene information for all scenes with the "scrape" tag. This action will overwrite all previous scene information
- name: Scrape urls
description: Scrape information for all scenes and galleries with the "scrape" tag. This action will overwrite all previous information
defaultArgs:
mode: scrape
Loading

0 comments on commit d78e720

Please # to comment.