uopspop

Untitled

Dec 16th, 2019
144
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # launcher.py'
  2. import sys
  3. import json
  4.  
  5. from my_sls_scraper.crawl import crawl
  6.  
  7. def scrape(event={}, context={}):
  8.     crawl(**event)
  9.  
  10.  
  11. if __name__ == "__main__":
  12.     try:
  13.         event = json.loads(sys.argv[1])
  14.     except IndexError:
  15.         event = {}
  16.     scrape(event)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×