• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:52
CEST 17:52
KST 00:52
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3
StarCraft 2
General
The New Patch Killed Mech! Team Liquid Map Contest #21 - Presented by Monster Energy herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four TL.net Map Contest #21: Voting
Tourneys
SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BSL Season 21 BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BW caster Sayle BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Current Meta BW - ajfirecracker Strategy & Training Relatively freeroll strategies Siegecraft - a new perspective
Other Games
General Games
Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1648 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 States240 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 Federation371 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 8m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 386
StarCraft: Brood War
Britney 42363
Calm 6390
Hyuk 4759
Sea 2976
Bisu 2700
GuemChi 1978
Horang2 1751
Flash 1388
Jaedong 1128
Larva 614
[ Show more ]
EffOrt 539
Soma 477
Light 393
Mong 335
Mini 234
actioN 232
Snow 202
Soulkey 179
hero 164
Hyun 160
TY 83
ggaemo 65
JYJ63
Barracks 46
Mind 41
sorry 39
Killer 37
Rush 34
Terrorterran 30
Aegong 26
Rock 17
soO 16
scan(afreeca) 15
Movie 15
Sacsri 15
SilentControl 14
Bale 10
Shine 9
yabsab 9
HiyA 5
Dota 2
Gorgc6967
qojqva4201
Dendi1213
420jenkins453
BananaSlamJamma169
canceldota58
Counter-Strike
byalli638
markeloff211
fl0m151
edward56
FunKaTv 31
Heroes of the Storm
Khaldor194
Other Games
singsing2427
hiko1278
B2W.Neo1089
FrodaN636
ceh9415
Lowko346
Sick340
Liquid`VortiX252
ArmadaUGS101
C9.Mang076
KnowMe70
XcaliburYe61
Mew2King51
Trikslyr38
Organizations
Counter-Strike
PGL537
StarCraft 2
WardiTV76
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• poizon28 40
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• Reevou 0
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 3353
Other Games
• Shiphtur101
Upcoming Events
Monday Night Weeklies
8m
Replay Cast
7h 8m
WardiTV Invitational
19h 8m
WardiTV Invitational
22h 38m
PiGosaur Monday
1d 8h
Replay Cast
1d 18h
Tenacious Turtle Tussle
2 days
The PondCast
2 days
OSC
2 days
WardiTV Invitational
3 days
[ Show More ]
Online Event
4 days
RSL Revival
4 days
RSL Revival
4 days
WardiTV Invitational
4 days
Afreeca Starleague
5 days
Snow vs Soma
Sparkling Tuna Cup
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
RSL Revival
6 days
Wardi Open
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
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 © 2025 TLnet. All Rights Reserved.