<< Back to Help Forum   Search

Posts 1 - 19 of 19   
any way to search players by their nationality?: 2015-10-13 19:22:28

dauti
Level 60
Report
Is there any way to search players by their nationality?
i would like to see how many argentines are in WL and create a game with them.
any way to search players by their nationality?: 2015-10-13 19:27:43


Cata Cauda
Level 59
Report
i would like to see how many argentines are in WL and create a game with them.

Why only with them? Do you not like the rest of the world? Is this some kind of rasicm or so?
any way to search players by their nationality?: 2015-10-13 19:30:01


TBest 
Level 60
Report
^Or, he wants to enter the Nations cup.

And now, searching by 'flag' is not possible :(
In the past 'recruitment games' or forum posts was the way to find players.

Edited 10/13/2015 19:31:31
any way to search players by their nationality?: 2015-10-13 19:36:10

dauti
Level 60
Report
Yes, I hate all other countries xd

too bad its not posible
any way to search players by their nationality?: 2015-10-13 19:51:40


ChrisCMU 
Level 61
Report
No way to search that I know of. Tenshi (in my clan) and Eman (from AHol) are from there.

There are quite a few in here also:
https://www.warlight.net/Clans/?ID=92

Edited 10/13/2015 19:53:27
any way to search players by their nationality?: 2015-10-13 19:57:17


willc
Level 56
Report
diego maradona too but i don`t know if he still plays warlight. :)
any way to search players by their nationality?: 2015-10-13 20:03:27

dauti
Level 60
Report
diego maradona too but i don`t know if he still plays warlight. :)

probably not enough addictive this game for Maradona.

thanks Chris and Tbest, maybe if i add a few they know of others.

Edited 10/13/2015 20:20:18
any way to search players by their nationality?: 2015-10-17 23:14:47


powerpos
Level 50
Report
Like Warlight on Facebook and hope FB will start recommending you people with similar interests from your country.
any way to search players by their nationality?: 2015-10-17 23:57:35


Genghis 
Level 54
Report
Racist
any way to search players by their nationality?: 2015-10-18 00:02:11


l4v.r0v 
Level 59
Report
You can sort through all players who're in a clan, have competed in a ladder, or have posted on a forum and find the Argentines if you know some very basic web scraping.
any way to search players by their nationality?: 2015-10-30 02:52:37


[AOE] JaiBharat909
Level 56
Report
sigh. Knyte you should replace Fizzer lol.
any way to search players by their nationality?: 2015-10-30 03:50:10


Coronel Gavilan
Level 59
Report
typical argentine chauvinist...
any way to search players by their nationality?: 2015-10-30 03:51:06


Жұқтыру
Level 56
Report
Well, all you need to do is programme something that would, from being on the clans page (https://www.warlight.net/Clans/List). I assume this:

1. Open all the links right of a bullet point.
2. Open all the links in the table.
3: See what flag attribute it is and record it.

And I assume would take 0.5-2 hours to learn how to do from knowing no programming. knyte can confirm/deny.
any way to search players by their nationality?: 2015-10-30 04:29:26

dauti
Level 60
Report
yep, too lazy to do that

it was a joke coronel. I hope you are not one of those mexican that fight againt any argentine they found in any internet forum.
any way to search players by their nationality?: 2015-10-30 05:28:09


Castle Bravo
Level 56
Report
I want to know how many people play from the Democratic Republic of the Congo.

KEK KEK KEKITY KEK
any way to search players by their nationality?: 2015-10-30 05:38:04


l4v.r0v 
Level 59
Report
@Kapy- yeah, not too much effort if you're willing to pick up Scrapy and figure out some basic Python. Not sure if it's just 0.5-2h if you're completely new to programming but it's pretty straightforward if you:

a. can understand basic concepts like variables and functions, and

b. can figure out what steps you'd take (click "View Source" and see what you'd do) and how to turn them into code

Edited 10/30/2015 05:39:38
any way to search players by their nationality?: 2015-10-31 03:24:12


Coronel Gavilan
Level 59
Report
para nada dauti, una simple cargada haha
any way to search players by their nationality?: 2015-10-31 03:39:34


Fleecemaster 
Level 59
Report
Where do you get the source for "all players who're in a clan, have competed in a ladder, or have posted on a forum" I'm not sure if I'm just being thick, but I'm not sure where that info would come from...?

After that is it just a simple parse or do you need to extract information from individual player profiles?

Edit: Found "country played from" on the profile source, it's on line 284 of the code and looks easy enough to extract, are you saying it would need to be taken from every profile, or is there somewhere that there is a player database?

Edit 2: Oooh, I didn't realise Scrapy was a program, ok, that makes it a lot easier then, woot! Time to think about Pythoning possibly sometime soon perhaps maybe :)

Edited 10/31/2015 03:57:23
any way to search players by their nationality?: 2015-10-31 05:06:25


l4v.r0v 
Level 59
Report
Where do you get the source for "all players who're in a clan, have competed in a ladder, or have posted on a forum" I'm not sure if I'm just being thick, but I'm not sure where that info would come from...?


You'd just write a script to scrape the clan pages, the forums, the ladders, and anywhere else on the site where player activity is evident (you could just crawl a bunch of pages and check for URLs to player pages and store everything there, but it all depends on how slow/thorough you want your script to be).

After that is it just a simple parse or do you need to extract information from individual player profiles?


You'd have to extract from individual profiles. This would be a rather slow process, and I'd recommend storing that information so you can conduct further analysis without having to recapture it.

it's on line 284 of the code and looks easy enough to extract, are you saying it would need to be taken from every profile, or is there somewhere that there is a player database?


Don't rely on the line number. I'd recommend parsing the HTML (Scrapy handles this for you). Watch out for weird edge cases.

Edited 10/31/2015 05:07:27
Posts 1 - 19 of 19