Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing missing non-alphanumeric characters in search() endpoint #28

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
2 changes: 1 addition & 1 deletion dist/main/howlongtobeat.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main/howlongtobeat.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/main/howlongtobeat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export class HowLongToBeatParser {
if ($('h3').length > 0) {
let liElements = $('li');
liElements.each(function() {
let gameTitleAnchor = $(this).find('a')[0];
let gameName: string = gameTitleAnchor.attribs.title;
let gameTitleAnchor = $(this).find('a')[0];
let gameName: string = $(this).find('a')[1].children[0].data;
const gameDescription = '';
const platforms = [];
let detailId: string = gameTitleAnchor.attribs.href.substring(
Expand Down