• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:47
CET 14:47
KST 22:47
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
$21,000 RyongYi Cup Season 3 announced (Jan 22-Feb 7)2Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns6[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises3
StarCraft 2
General
Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns SC2 All-Star Invitational: Jan 17-18 Weekly Cups (Dec 22-28): Classic & MaxPax win, Percival surprises Chinese SC2 server to reopen; live all-star event in Hangzhou Starcraft 2 Zerg Coach
Tourneys
$21,000 RyongYi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026 OSC Season 13 World Championship
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes Mutation # 504 Retribution
Brood War
General
I would like to say something about StarCraft BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Data analysis on 70 million replays
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Nintendo Switch Thread Awesome Games Done Quick 2026! Stormgate/Frost Giant Megathread General RTS Discussion Thread Should offensive tower rushing be viable in RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Psychological Factors That D…
TrAiDoS
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2768 users

Fish Ladder under your fingers

Forum Index > BW General
Post a Reply
Normal
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-06-05 11:54:27
March 23 2016 19:21 GMT
#1
I am too lazy to check fish server nicknames with corresponding liquipedia table. So, I wrote a python script that does exactly that

Here, take a look at how it works.

Let's say I want to check current fish server ranking.

[image loading]

You want to see all the fish nicknames and corresponding stats for the given BW player id.

[image loading]

It works the other way around, give fish server nickname to see which BW player id it belongs to.

[image loading]

Here is a github page.
Direct link to script: https://raw.githubusercontent.com/tastyminerals/fish_ladder/master/fish_ladder.py

UPDATED 05.06.2016:
Added fuzzy matching for console version.
Now you don't need to know the correct name of the player.

To get real id when you don't remember the correct spelling of the fish id do:
./fish_ladder.py -fr ssaeggi
It's 75% EffOrt!

To get all fish ids if you don't remember the correct spelling of the real id do:
./fish_ladder.py -ff falsh
> It is 80% Flash!

> TimeNa --> Flash
> FlaSh --> Flash
> eros_quality --> Flash

Installation:
If you are on Windows: install Python2.7 from here.

Put the script in any folder you like. Let's say, inside C:\Python27\ itself.
Open up cmd, go to this folder with: cd C:\Python27 and first run
pip install requests
pip install beautifulsoup4
pip install fuzzywuzzy
pip install python-Levenshtein


After pip installs these libraries you can run the script:
python fish_ladder.py

Other commands:
python fish_ladder.py -pls <-- gives alphabetically sorted list of all known BW players
python fish_ladder.py -t 10 <-- gives you top 10 fish ladder ranking with fish ids revealed.
python fish_ladder.py -p Sea <-- gives you all fish ids for "Sea" and also stats for each fish id.
python fish_ladder.py -p moksaeggi <-- tells you who is it given the fish id, can be lowecase or uppercase.
python fish_ladder.py -u <-- fetch the recent stats and player names from fish and tl.wiki.

The simplest GUI version, for all those who prefer a mouse. To run, just double-click on the file.

[image loading]
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2016-03-23 20:06:07
March 23 2016 19:51 GMT
#2
Nice! How did you convert data into json? Was it just BeautifulSoup?
toriak
Profile Joined December 2008
Slovakia477 Posts
March 23 2016 20:09 GMT
#3
nice
does it auto update ?
shared IDs might lead to crashes tho
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-23 20:18:16
March 23 2016 20:17 GMT
#4
On March 24 2016 04:51 Shield wrote:
Nice! How did you convert data into json? Was it just BeautifulSoup?

Json can save/load python dict without any problems json.dump(dictionary).

Yes, I use BeautifulSoup to scap data from web pages and create a two dictionaries that are dumped with json into json files.
This is done to speed up things. When run first time, the script queries tl.wiki and fish server web pages, creates dictionaries and saves them as jsons on disk. Next time when you start it, it uses these files.
In order to update the files you need to python2 fish_ladder.py -u.
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-23 20:24:07
March 23 2016 20:22 GMT
#5
On March 24 2016 05:09 toriak wrote:
nice
does it auto update ?
shared IDs might lead to crashes tho

No, you need to do it manually python2 fish_ladder.py -u because quering web sites each time takes time, especially fish server, even a few secs is annoying.

Yes, if somebody decides to change tl.wiki page or fish page and renames html elements the script will surely crash. But as long as the player lists are updated with new entries only, it will work just all right. The more nicknames we have on tl.wiki the better fish ladder will be decoded. Having saved jsons on disk, protects you from pulling malformed data after all.
Shinrei
Profile Joined February 2007
United States241 Posts
March 23 2016 21:07 GMT
#6
Eternal.Pose is aka Sirius..`Bishop. He was that Sbenu team Terran amateur.
=^.^=
letian
Profile Blog Joined May 2010
Germany4221 Posts
March 23 2016 21:12 GMT
#7
On March 24 2016 06:07 Shinrei wrote:
Eternal.Pose is aka Sirius..`Bishop. He was that Sbenu team Terran amateur.

You can add him to liquipedia table and after "-u" update "eternal.pose" will be decoded as "Sirius".
toriak
Profile Joined December 2008
Slovakia477 Posts
March 24 2016 06:52 GMT
#8
where to write that commands ?
do i need to use python ?
Scarbo
Profile Joined January 2012
294 Posts
March 24 2016 07:44 GMT
#9
sweet work man, thanks!
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-24 08:20:06
March 24 2016 08:16 GMT
#10
On March 24 2016 15:52 toriak wrote:
where to write that commands ?
do i need to use python ?

Yes, if you are on Windows: install Python2.7 from here.

Put the script in any folder you like. Let's say, inside C:\Python27\ itself.
Open up cmd, go to this folder with: cd C:\Python27 and first run
pip install requests
pip install beautifulsoup4

After pip installs these libraries you can run the script:
python fish_ladder.py

Other commands:
python fish_ladder.py -pls <-- gives alphabetically sorted list of all known BW players
python fish_ladder.py -t 10 <-- gives you top 10 fish ladder ranking with fish ids revealed.
python fish_ladder.py -p Sea <-- gives you all fish ids for "Sea" and also stats for each fish id.
python fish_ladder.py -p moksaeggi <-- tells you who is it given the fish id, can be lowecase or uppercase.
python fish_ladder.py -u <-- fetch the recent stats and player names from fish and tl.wiki.
bGr.MetHiX
Profile Joined February 2011
Bulgaria511 Posts
March 24 2016 09:46 GMT
#11
soooo Last holds 5 of the top15 slots in Fish ?
Top50 GM EU Protoss from Bulgaria. Streaming with commentary : www.twitch.tv/hwbgmethix
iFU.spx
Profile Joined April 2011
Russian Federation372 Posts
March 24 2016 10:00 GMT
#12
very nice job!
LaStScan
Profile Joined May 2011
Korea (South)1289 Posts
March 24 2016 10:36 GMT
#13
I would recommend to use Google Docs(Spread Sheet).
Easy to excess for anyone. less difficulty of organizing players' aka and stats, and so on.

I also realized that Marcin Nowak did this before on August 20th, 2015.
Updating this spread sheet every once a week sounds okay to me(a few people should have access with this changes).

If people would agree with this previous idea that had used, I'll make and do it for y'all.
Trying my best for ASL, ASTL
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
March 24 2016 10:51 GMT
#14
i worked with soemthing similiar for iccup in the past. Idea was to check my opponent stats in a game. Like best rank with stats, and current stats (iccup only shows rank). This often works but not always, you can check it in 1/1 games , after 2 minutes in a game with just /stat command. Could you do something similiar for a iccup?
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-24 14:02:06
March 24 2016 13:58 GMT
#15
@LaStScan
Yes, for the sake of simplicity you can use google docs.
Google docs approach is good for fish id revealing only.
However, I want to have the latest info on each player and see what they were doing during the week by accessing fish ladder stats. Also, it is just faster than to look through the list.

@mca64Launcher_
If you need the same thing that fish_ladder.py does but for iccup then it is possible. I am not familiar how you can do this in the game though. And looks like this is what you mean.

I can write a GUI for the script but only if I am sure that there are enough ppl who will actually use it. Right now, scripts are good enough ;D
WightyCity
Profile Joined May 2011
Canada887 Posts
March 24 2016 14:56 GMT
#16
cool. Thanks!
90% watching it 8% talking about it and 2% playing it - sc2
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
Last Edited: 2016-03-25 07:51:40
March 25 2016 07:49 GMT
#17
Problem with this is that you are using python. Users dont likes install extra stuff. Should be all just native, just click and use.
ne4aJIb
Profile Blog Joined July 2011
Russian Federation3209 Posts
March 25 2016 08:27 GMT
#18
python is a great map
Bisu,Best,Stork,Jangbi and Flash, Fantasy, Leta, Light and Jaedong, Hydra, Zero, Soulkey assemble in ACE now!
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-25 08:50:09
March 25 2016 08:49 GMT
#19
On March 25 2016 16:49 mca64Launcher_ wrote:
Problem with this is that you are using python. Users dont likes install extra stuff. Should be all just native, just click and use.

Yes, unfortunately using scripts is still a skill of an advanced user (thank you Windows).
Python is as cross platform as possible these days. If you mean "exe" file, I am not really into that stuff, it just requires more work.
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
March 25 2016 09:20 GMT
#20
i love Python map <3
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
March 25 2016 09:23 GMT
#21
unfortunately using scripts is still a skill of an advanced user


hmm yes and no. Even i doesnt like using script, im too lazy. Simpler is always better for a human
oGoZenob
Profile Joined December 2011
France1503 Posts
March 25 2016 13:27 GMT
#22
man I love when people do scripts that allows me to be lazy
I like starcraft
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-25 14:12:32
March 25 2016 14:07 GMT
#23
simplest GUI version, for all those who prefer a mouse. No highlighting or fancy styles, just plain text. Double-click it to run.

[image loading]
WinterViewbot420
Profile Blog Joined December 2015
345 Posts
March 25 2016 14:15 GMT
#24
I always forget Python 2 is still a thing
Konsumed
Profile Joined April 2010
United States30 Posts
Last Edited: 2016-03-28 05:28:36
March 28 2016 05:07 GMT
#25
Got the GUI version to work thanks this is nice when watching streams :D
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-03-28 10:53:50
March 28 2016 10:48 GMT
#26
On March 25 2016 23:15 WinterViewbot420 wrote:
I always forget Python 2 is still a thing

Start all your endeavours with python 2 and only then migrate to python 3 should be included into python conventions.
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-06-05 08:44:42
June 05 2016 08:43 GMT
#27
Unfortunately the script stopped working because
http://www.fishbattle.net/rank_ladder
started using captcha which requires starting up a browser and confirming that "I am not a robot" before you can see the actual ladder ranks
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
June 05 2016 08:48 GMT
#28
so add this captcha window
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-06-05 09:15:08
June 05 2016 09:14 GMT
#29
I have pushed a few fixes. Now, you can still look up the real player names. You can update the "fish id" -> "real id" table from tl wiki. Fish ladder updates are not available until they remove the captcha page

To update the "tlwiki.json" table do:
python2 fish_ladder.py -u


To look up the player real id do:
python2 fish_ladder.py -p [NeOx]92
> It's ZerO


To see the list of known player ids do:
python2 fish_ladder.py -pls
letian
Profile Blog Joined May 2010
Germany4221 Posts
June 05 2016 09:17 GMT
#30
On June 05 2016 17:48 mca64Launcher_ wrote:
so add this captcha window

Yes, it is possible but basically means starting up a browser :D
When I just need a fast script.
letian
Profile Blog Joined May 2010
Germany4221 Posts
June 05 2016 11:47 GMT
#31
Added fuzzy matching for console version.
Now you don't need to know the correct name of the player.

To get real id when you don't remember the correct spelling of the fish id do:
./fish_ladder.py -fr ssaeggi
It's 75% EffOrt!


To get all fish ids if you don't remember the correct spelling of the real id do:
./fish_ladder.py -ff falsh
> It is 80% Flash!

> TimeNa --> Flash
> FlaSh --> Flash
> eros_quality --> Flash

idegelchik
Profile Joined September 2012
Russian Federation382 Posts
Last Edited: 2016-06-05 13:05:45
June 05 2016 13:05 GMT
#32
python is a good BW map
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
June 05 2016 13:13 GMT
#33
python best map ever
idegelchik
Profile Joined September 2012
Russian Federation382 Posts
June 05 2016 16:02 GMT
#34
python 2 is nono, python 1.3 is good
mca64Launcher_
Profile Joined June 2015
Poland629 Posts
June 05 2016 17:42 GMT
#35
On June 05 2016 18:17 letian wrote:
Show nested quote +
On June 05 2016 17:48 mca64Launcher_ wrote:
so add this captcha window

Yes, it is possible but basically means starting up a browser :D
When I just need a fast script.


Im pretty sure its possible without web browser
idegelchik
Profile Joined September 2012
Russian Federation382 Posts
June 05 2016 17:44 GMT
#36
no idea how bypass this type captcha without money
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 14h 13m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Lowko426
LamboSC2 264
RotterdaM 253
StarCraft: Brood War
Britney 34654
Rain 5089
PianO 2427
EffOrt 1058
Shuttle 1010
Stork 547
BeSt 456
Snow 430
actioN 306
Rush 192
[ Show more ]
Barracks 154
Dewaltoss 115
Mind 97
Killer 79
Hyun 77
Larva 71
JYJ 59
[sc1f]eonzerg 46
soO 32
910 27
ToSsGirL 27
HiyA 23
Yoon 20
zelot 13
JulyZerg 13
ajuk12(nOOB) 11
Bale 9
Terrorterran 6
Dota 2
Gorgc4229
XcaliburYe216
Counter-Strike
allub303
Other Games
singsing1866
B2W.Neo1522
hiko327
Sick286
Fuzer 248
XaKoH 160
QueenE37
MindelVK23
Happy0
Organizations
Other Games
gamesdonequick33985
StarCraft: Brood War
lovetv 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 1
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1666
League of Legends
• Jankos2783
Upcoming Events
SOOP
14h 13m
SHIN vs GuMiho
Cure vs Creator
The PondCast
20h 13m
Wardi Open
22h 13m
Big Gabe XPERIONCRAFT
23h 13m
AI Arena Tournament
1d 6h
Sparkling Tuna Cup
1d 20h
WardiTV Invitational
1d 23h
IPSL
2 days
DragOn vs Sziky
Replay Cast
2 days
Wardi Open
2 days
[ Show More ]
Monday Night Weeklies
3 days
WardiTV Invitational
3 days
WardiTV Invitational
4 days
The PondCast
5 days
Liquipedia Results

Completed

Proleague 2026-01-08
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
Escore Tournament S1: W3
OSC Championship Season 13
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Big Gabe Cup #3
Nations Cup 2026
Underdog Cup #3
NA Kuram Kup
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.