googlebot flat earth meme pic

#289
Raw
Author
Anonymous
Created
Nov. 13, 2020, 8:33 p.m.
Expires
Never
Size
620 bytes
Hits
70
Syntax
Python
# import urllib, urllib2
import json
import requests

url = "https://globie-info.neet.cloud/"

response = requests.get(url)
data = response.json()

# # data.links is the array of download links, rename it to fit your JSON.
for item in data:
    file_name = item['name']

    with open(file_name, 'wb') as handle:
            response = requests.get(url + file_name, stream=True)

            if not response.ok:
                print(response)

            for block in response.iter_content(1024):
                if not block:
                    break

                handle.write(block)