我想把图片从网址加载到control.But,它加载的速度非常慢,当我点击标签2并返回到标签1时,应用程序停止了。
public void ShowImageFromJsonURL()
{
string json = (new
WebClient()).DownloadString("http://ddragon.leagueoflegends.com/cdn/6.24.1/data/en_US/profileicon.json");
var result = JsonConvert.DeserializeObject<Pr
for page in range(1, 5):
req = requests.get('https://www.futbin.com/players?page='+str(page))
soup = bs4.BeautifulSoup(req.text,'html.parser')
numbers = [1,2]
for number in numbers:
players = soup.findAll('tr','player_tr_'+str(number))