41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"sites": [
|
|
"reddit"
|
|
],
|
|
"task_id": 630,
|
|
"require_login": true,
|
|
"storage_state": "./.auth/reddit_state.json",
|
|
"start_url": "http://localhost:28080",
|
|
"geolocation": null,
|
|
"intent_template": "Ask for product recommendations for {{category}} within a budget of {{price}} in {{subreddit}}",
|
|
"instantiation_dict": {
|
|
"category": "noise-cancelling headphones",
|
|
"price": "$200",
|
|
"subreddit": "r/headphones"
|
|
},
|
|
"intent": "Ask for product recommendations for noise-cancelling headphones within a budget of $200 in r/headphones",
|
|
"require_reset": false,
|
|
"eval": {
|
|
"eval_types": [
|
|
"url_match",
|
|
"program_html"
|
|
],
|
|
"reference_answers": null,
|
|
"reference_url": "http://localhost:28080/f/headphones",
|
|
"program_html": [
|
|
{
|
|
"url": "func:reddit_get_post_url('__last_url__')",
|
|
"locator": "document.querySelector('.submission__inner').outerText",
|
|
"required_contents": {
|
|
"must_include": [
|
|
"200",
|
|
"noise-cancelling",
|
|
"headphone"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"url_note": "GOLD in PRED"
|
|
},
|
|
"intent_template_id": 15
|
|
} |