Skip to content

Commit

Permalink
howlongtobeat: Fix searches 404'ing
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroman committed Dec 17, 2024
1 parent 0a75846 commit 3f68b8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/howlongtobeat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def search(query, parent: Async::Task.current)
'gameplay' => {
'perspective' => '',
'flow' => '',
'genre' => ''
'genre' => '',
'difficulty' => ''
},
'rangeYear' => {
'min' => '',
Expand All @@ -122,7 +123,8 @@ def search(query, parent: Async::Task.current)
'filter' => '',
'sort' => 0,
'randomizer' => 0
}
},
'useCache': true
}
headers = {
'referer' => 'https://howlongtobeat.com',
Expand Down

0 comments on commit 3f68b8f

Please sign in to comment.