• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:25
CET 20:25
KST 04:25
  • 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
Weekly 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 surprises3Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies3
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
WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026 OSC Season 13 World Championship uThermal 2v2 Circuit
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
Stormgate/Frost Giant Megathread General RTS Discussion Thread Nintendo Switch Thread Awesome Games Done Quick 2026! 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 Survivor II: The Amazon Sengoku Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread The Big Programming Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
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
How do archons sleep?
8882
Psychological Factors That D…
TrAiDoS
James Bond movies ranking - pa…
Topin
StarCraft improvement
iopq
GOAT of Goats list
BisuDagger
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1062 users

Fish Ladder under your fingers

Forum Index > BW General
Post a Reply
1 2 Next All
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
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 1d 8h
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
JuggernautJason137
BRAT_OK 79
Railgan 30
StarCraft: Brood War
Britney 26558
Shuttle 669
Dewaltoss 168
scan(afreeca) 14
Shine 8
Dota 2
420jenkins760
Fuzer 253
Counter-Strike
adren_tv118
Heroes of the Storm
Liquid`Hasu458
Other Games
Grubby4047
Liquid`RaSZi2196
FrodaN1646
ceh9584
Mlord481
JimRising 313
DeMusliM301
B2W.Neo257
KnowMe104
ToD89
QueenE69
fpsfer 1
Organizations
Other Games
gamesdonequick45536
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• StrangeGG 69
• naamasc258
• Adnapsc2 12
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• blackmanpl 31
• FirePhoenix9
• 80smullet 7
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV627
League of Legends
• Nemesis2198
Other Games
• imaqtpie1584
• Shiphtur272
Upcoming Events
SOOP
1d 8h
SHIN vs GuMiho
Cure vs Creator
The PondCast
1d 14h
Wardi Open
1d 16h
Sparkling Tuna Cup
2 days
WardiTV Invitational
2 days
IPSL
3 days
DragOn vs Sziky
Replay Cast
3 days
Wardi Open
3 days
Monday Night Weeklies
3 days
WardiTV Invitational
4 days
[ Show More ]
WardiTV Invitational
5 days
The PondCast
6 days
Liquipedia Results

Completed

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

Ongoing

C-Race Season 1
IPSL Winter 2025-26
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

Escore Tournament S1: W3
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
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.