Google-Scholar-Scrapper/Code File/test_data.py

7 lines
177 B
Python

import urllib.request
try:
with urllib.request.urlopen('http://127.0.0.1:5000/data') as response:
print(len(response.read()))
except Exception as e:
print(e)