Hello!

I made a quick Tibia Scraper because I was bored. it's completely open-source. I just threw something together in about 20 minutes and it works great. It first of all scrapes the online list. You can filter it by world, vocation, level and so on. For example, if you want to see all level 34+ druids on calmera, you can do so.

After it scraped the online list, it continues to scrape their profiles pages.
This might take a while depending on how many players you scrape.
If you set it to scrape all worlds, all vocations, all levels, and the online amount is like 13000, then yes it is going to make 13000 webrequests, which will result in a lot of 403 Forbidden errors.
To fix the 403 error, I added the possibility to add a delay between each request (per page).
If you put it to 1 second, it's going to take a minimum of 13000 seconds to scrape it all.

You can try around and see what delay works the best.
It was only recently CipSoft put a block on their web site.
A few weeks ago you were able to make thousands of requests without any problem.
Now you have to slow it down the more requests you make.

Anyways, when it has scraped their profiles, you can save it all to a database.
Instructions for table and column names are included in the application. Takes a minute to set the databse up.
Remember to make the name column unique. This is so that it will UPDATE existing players, and not INSERT them again.

And oh, the world list is extracted from the textfile worlds.txt so that you can quickly update it without recompiling everything, in case cipsoft adds/merges servers.

Of course there's a lot that can be improved or added, but this should do for a simple webscraper if you decide to perhaps collect stats about certain players and so on

Preview Snapshot:


Download (Compiled+Source):
https://www.mediafire.com/?pkv1h8vgb552uid