mirror of
https://github.com/stashapp/stash.git
synced 2026-05-08 12:32:29 +02:00
Fix MD formatting, headings
This commit is contained in:
parent
4e2af10a54
commit
4fe25da7c6
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Scrapers can be contributed to the community by creating a PR in [this repository](https://github.com/stashapp/CommunityScrapers/pulls).
|
Scrapers can be contributed to the community by creating a PR in [this repository](https://github.com/stashapp/CommunityScrapers/pulls).
|
||||||
|
|
||||||
# Scraper configuration file format
|
## Scraper configuration file format
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: <site>
|
name: <site>
|
||||||
|
|
@ -166,7 +166,6 @@ sceneByURL:
|
||||||
The above configuration requires that `sceneScraper` exists in the `xPathScrapers` configuration.
|
The above configuration requires that `sceneScraper` exists in the `xPathScrapers` configuration.
|
||||||
|
|
||||||
XPath scraping configurations specify the mapping between object fields and an xpath selector. The xpath scraper scrapes the applicable URL and uses xpath to populate the object fields.
|
XPath scraping configurations specify the mapping between object fields and an xpath selector. The xpath scraper scrapes the applicable URL and uses xpath to populate the object fields.
|
||||||
>
|
|
||||||
|
|
||||||
### scrapeJson
|
### scrapeJson
|
||||||
|
|
||||||
|
|
@ -202,6 +201,7 @@ xPathScrapers:
|
||||||
### scrapeXPath and scrapeJson use with `sceneByFragment` and `sceneByQueryFragment`
|
### scrapeXPath and scrapeJson use with `sceneByFragment` and `sceneByQueryFragment`
|
||||||
|
|
||||||
For `sceneByFragment` and `sceneByQueryFragment`, the `queryURL` field must also be present. This field is used to build a query URL for scenes. For `sceneByFragment`, the `queryURL` field supports the following placeholder fields:
|
For `sceneByFragment` and `sceneByQueryFragment`, the `queryURL` field must also be present. This field is used to build a query URL for scenes. For `sceneByFragment`, the `queryURL` field supports the following placeholder fields:
|
||||||
|
|
||||||
* `{checksum}` - the MD5 checksum of the scene
|
* `{checksum}` - the MD5 checksum of the scene
|
||||||
* `{oshash}` - the oshash of the scene
|
* `{oshash}` - the oshash of the scene
|
||||||
* `{filename}` - the base filename of the scene
|
* `{filename}` - the base filename of the scene
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue