• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:48
CEST 13:48
KST 20:48
  • 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
Serral wins EWC 202519Tournament Spotlight: FEL Cracow 20259Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder2EWC 2025 - Replay Pack2Google Play ASL (Season 20) Announced35BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10Weekly Cups (July 14-20): Final Check-up0
StarCraft 2
General
#1: Maru - Greatest Players of All Time Greatest Players of All Time: 2025 Update Serral wins EWC 2025 Power Rank - Esports World Cup 2025 EWC 2025 - Replay Pack
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch Sparkling Tuna Cup - Weekly Open Tournament FEL Cracov 2025 (July 27) - $10,000 live event Esports World Cup 2025
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
Google Play ASL (Season 20) Announced Which platform caters to men's fashion needs? Help: rep cant save Shield Battery Server New Patch [G] Progamer Settings
Tourneys
[BSL] Non-Korean Championship - Final weekend [Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China CSL Xiamen International Invitational
Strategy
Does 1 second matter in StarCraft? Simple Questions, Simple Answers Muta micro map competition [G] Mineral Boosting
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! [Manga] One Piece Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Eight Anniversary as a TL…
Mizenhauer
Flash @ Namkraft Laddernet …
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 610 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 States237 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 Federation369 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 42m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 401
StarCraft: Brood War
Britney 31124
Horang2 3908
Flash 1801
Jaedong 1049
Bisu 838
Hyun 725
Barracks 711
EffOrt 398
actioN 293
Mini 284
[ Show more ]
Larva 262
Soulkey 251
Killer 249
Last 165
Snow 134
GuemChi 123
Zeus 118
ToSsGirL 117
JYJ113
Leta 95
ZerO 93
Rush 59
sorry 41
Sharp 38
Backho 32
Movie 29
yabsab 28
sas.Sziky 27
Sacsri 27
sSak 25
zelot 25
Shinee 15
Hm[arnc] 14
Icarus 14
Noble 14
ajuk12(nOOB) 10
Aegong 4
Dota 2
Gorgc2014
XcaliburYe306
BananaSlamJamma282
Counter-Strike
olofmeister2233
x6flipin582
edward92
Other Games
singsing2064
B2W.Neo692
Fuzer 322
DeMusliM281
Happy262
SortOf99
ZerO(Twitch)15
ToD8
Organizations
Other Games
gamesdonequick1005
StarCraft: Brood War
UltimateBattle 27
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 75
• davetesta51
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos724
Other Games
• WagamamaTV247
Upcoming Events
OSC
42m
uThermal 2v2 Circuit
4h 12m
The PondCast
22h 12m
Online Event
1d 4h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
BSL20 Non-Korean Champi…
3 days
Mihu vs QiaoGege
Zhanhun vs Dewalt
Fengzi vs TBD
Online Event
3 days
Sparkling Tuna Cup
3 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs TBD
[ Show More ]
OSC
5 days
Liquipedia Results

Completed

BSL 20 Non-Korean Championship
FEL Cracow 2025
Underdog Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
CC Div. A S7
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025

Upcoming

BSL 21 Qualifiers
ASL Season 20: Qualifier #1
ASL Season 20: Qualifier #2
ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
HCC Europe
Yuqilin POB S2
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
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.