I am using urllib3.PoolManager to get a Request like that:
import urllib3
import requests
http = urllib3.PoolManager()
for x in range(5000):
r = http.request('GET', PlayerCard) # PlayerCard is always a different url.
img = QImage()
img.loadFromData(r.data)
self.PlayerBanner[i].setPixmap(QPixmap(img)) # Dont mind the i, its a different variable i use!
now i take it a bit far, and use this 5000 times (phew.. thats much) with different urls at the same time! It takes a while to load all, and with PyQT5 to set a pixmap to something it takes again longer.
Of course i want it to be FASTER and not like 4-5 minutes long.
Now my question is: Is PyQT5 the Problem or urllib3.Poolmanager that it takes longer? If there is an answer, how can i fix it the best way?