How to simulate a browser?

Asked

Viewed 137 times

1

More specifically, I’ll be streaming music with Mp3skull, which has no API. So far, what I’ve been able to do is use an HTML Parser and go div by div looking for the common id of all the songs. However, the number of results is limited. In an ordinary browser, just click on "Show more Results" (or something like that), but using only the information I have, I can’t do anything. What is the solution?

  • If you help, I have the following features: SFML 2.x, Boost 1.57, Tinyxml2, Tidy.exe (tidylib), rapidjson and Juce. Willing to download other libraries.

1 answer

1

A good way would be to use a Web Crawler as a routine and assemble the list in a database so you don’t need to search again.

Crawler - Github

Crawler - npmjs

  • Thank you, Rodrigo. I’ve been a little out of time; I’ll take a look to see if I can solve the problem.

  • So... my tag is C++ so. I thought about using tools like jQuery, but I don’t even use JS. I’ll try using Python to interface and use a Crawler.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.