Last active
June 13, 2025 01:47
-
-
Save gingerbeardman/e4b07db8d59dec441bc9ada1972789c4 to your computer and use it in GitHub Desktop.
Huginn JSON for Yahoo! Japan Auctions, for importing into a Scenario
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"expected_update_period_in_days": "1", | |
"url": [ | |
"https://auctions.yahoo.co.jp/search/search?p=花札&en=Hanafuda&exflg=1&b=1&n=100&s1=new&o1=d&mode=1", | |
], | |
"type": "html", | |
"mode": "on_change", | |
"extract": { | |
"url": { | |
"css": "a.Product__titleLink", | |
"value": "@href" | |
}, | |
"title": { | |
"css": "a.Product__titleLink", | |
"value": "@title" | |
}, | |
"en": { | |
"xpath": "//html/head/title", | |
"value": "substring-before(substring-after(., ' -'), 'の')", | |
"repeat": "true" | |
}, | |
"image": { | |
"css": ".Product__imageData", | |
"value": "@src" | |
}, | |
"price": { | |
"css": ".Product__priceInfo .Product__price:first-of-type", | |
"value": "string(.)" | |
}, | |
"timestamp": { | |
"xpath": "//*[@class=\"Product\"]/div[1]/a/@data-cl-params", | |
"value": "substring-after(substring-before(., \";end:\"), \";st:\")" | |
} | |
}, | |
"http_success_codes": [ | |
"400", | |
"404", | |
"0" | |
], | |
"proxy": "http://12.34.56.78:8888" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment