Jump to content
LaunchBox Community Forums

PeeWii

Members
  • Posts

    5
  • Joined

  • Last visited

PeeWii's Achievements

4-Bit Adder

4-Bit Adder (2/7)

5

Reputation

  1. I updated the plugin to work. Hope the author does it officially soon. HLTBPlugin.zip
  2. All hope is not lost ! So I basterdized the source code to get it done (this is my first time fiddling with c# and the tools) but the result is good. Have fun. HLTBPlugin.zip
  3. Yeah, not working. So I took a look at the plugin source code (I know some Java so I can understand c# a bit), the plugin tries to act as a Mozilla browser and search the howlongtobeat website for the selected game as if you are doing it manually then searches in the returned HTML (using CSS selectors) and puts the results in a table. However, this no longer works because the website changed design and everything lately, many CSS classes changed so I went and adjusted this in the code and the result ? it kept shwing me results like "Spiderman 2" and "Mario Wonder" .. It turns out that the biggest problem is that when calling a page like "https://howlongtobeat.com/?q=metroid" in the browser, it will show you the homepage first then it will search for "metroid" (most likely using javascript). And you can't get around this with c# a webclient ... The homepage is where popular searches like "Spiderman 2" and "Mario Wonder" came from. This was most likely done to prevent web scraping methods (like what this plugin does) and it is effective.
×
×
  • Create New...