Sh1Fu / Netlab

A simple python script for working with Netlab API
2 stars 0 forks source link

Loading pictures #2

Closed Sh1Fu closed 2 years ago

Sh1Fu commented 2 years ago

Of the large set of statics in Netlab, only half loaded.

Current download block

try:
    urlretrieve(product_info, filename="images/%d.jpg" % i)
    sleep(0.2)
except (BaseException or URLError or HTTPError) as e:
    print("\nDownload error -> " + str(e) + '\n')
    sleep(120)
    continue

Need to add a logging system, as it was in B2B IT Pro

image image

Sh1Fu commented 2 years ago

Now test new proxy function

Sh1Fu commented 2 years ago

All the same problems