- less loading time (google download speed is better than your upload speed)
- one click data loading
- making data online you can work from other machines.
- we'll be using private github repository so data is private.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests | |
from bs4 import BeautifulSoup | |
import click | |
def get_page(url): | |
""" | |
take url get the webgape , store it's html , return that | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# dependencies: jq (sudo apt install jq) | |
# disabled parallel downloading to keep local network / aws happy. | |
download_code () { | |
# clean double quotes if found | |
local OUTPUT=${1//\"/} | |
local dest=./lambda_functions/$OUTPUT.zip | |
local URL=$(aws lambda get-function --function-name $OUTPUT --query 'Code.Location') |