Skip to content

Instantly share code, notes, and snippets.

David Buck davidxbuck

Block or report user

Report or block davidxbuck

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View signature_count.py
import requests
from time import sleep
url = "https://petition.parliament.uk/petitions/241584.json"
def get_count():
count = None
while True:
r = requests.get(url)
if r:
You can’t perform that action at this time.