Skip to content

Instantly share code, notes, and snippets.

@Quantum-Codes
Last active January 19, 2022 10:36
Show Gist options
  • Save Quantum-Codes/e687c6f6fb8bdaa9c9c4b4e03c848123 to your computer and use it in GitHub Desktop.
Save Quantum-Codes/e687c6f6fb8bdaa9c9c4b4e03c848123 to your computer and use it in GitHub Desktop.
Cloud event/ Cloud scanner (ScraGet)
from ScraGet import ScraGet
cloud = ScraGet.cloud()
@cloud.scan(ID="612229554",delay=1,NewThread=False) #params explained below
def hello(change): #change parameter is automatically passed.
print(change.var,":",change.value)
cloud.stop = True #this stops the scanning. Don't put if u want to keep scanning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment