preface

Unconsciously league of Legends S8 also ended, LPL finally won the championship, as S4 into the pit, I have been silently watching. The RNG this year, all the way to the quarterfinals, or more unfortunately, qualifying position to gold mix a skin also don’t how to play, it, you can play computer ported to play it at ordinary times, also to see the game entertainment entertainment at ordinary times, although the life more than in front of you, and poetry and the distance, but the reality is always so terrible, game will be, Even if it is youth…..

Today xiaobi also climb the LOL official website league of Legends skin picture, also can be regarded as a tribute to my league career, after all, life is not easy, good study is the right way.

Basic Environment Configuration

  • Version: Python3.6
  • System: Windows
  • Modules: Requests, JSON, time, RE
  • PIP install Requests module

The main idea

① Get all hero names and corresponding numbers (Ajax request, can not be crawled through the original website)


② Hero details page get skin (also Ajax request, this test eye, how to quickly determine the real request…)

You can see the link from the picture above, so the skin serial number of Hell walker – Sun Wukong is 62004, and the next step is to extract the hero’s skin serial number, as follows:



Finally, all the heroes’ skins were acquired successfully (more than 1000 skins, including the original ones).

Realize the effect drawing

The complete code

Finally, attach small make up feel good looking skin is more often to play