import requests
import csv
f =open("userid.txt", "r")

for line in f:
line = line.rstrip("\n").split("")
userid = line[0]
username = line[1]
print(userid +""+ username)

r = requests.get("https://google.com/api/?{userid}")
print(r.text)
with open("response.txt","a") as f:
f.write(r.text)

Edit

Pub: 21 Apr 2022 08:19 UTC

Views: 235