ckatzorke / howlongtobeat

A simple api for https://howlongtobeat.com/
Do What The F*ck You Want To Public License
338 stars 45 forks source link

Add search term to HowLongToBeatEntry #23

Closed alexanderglueck closed 3 years ago

alexanderglueck commented 3 years ago

This pull request adds the original search term to the HowLongToBeatEntry class.

Use case
When searching for games, currently only the similarity is returned. Now the original search term is also included.

Tests
I also updated the selector to fix one of the failing tests.

ckatzorke commented 3 years ago

Thank you mate. I will create a new version. still need to automate this :-)

alexanderglueck commented 3 years ago

First off, thank you for merging in my changes.
However, I just tried working with the latest release, and noticed that it doesn't work because the dist folder hasn't been rebuilt.

Would you be so kind as to rebuild the contents of the dist folder?

ckatzorke commented 3 years ago

Sorry - this happens when a human tries to do a machine's job. the project idled for some time, and in the meantime, travis-ci.org moved all projects to travis-ci.com. I still face issues migrating my projects (and howlongtobeat is one of them), so I published it manually - and of course forgot to run the build script first...

Should work now (v1.4.1), let me know of any further issues 👍

alexanderglueck commented 3 years ago

Thank you, everything is working as expected now!