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
from bs4 import BeautifulSoup as bs | |
import requests | |
import spotipy | |
import spotipy.util as util | |
import sys | |
urls = [ | |
'https://www.npr.org/2018/12/05/671206143/the-100-best-songs-of-2018-page-1', | |
'https://www.npr.org/2018/12/05/671206272/the-100-best-songs-of-2018-page-2', | |
'https://www.npr.org/2018/12/05/671206277/the-100-best-songs-of-2018-page-3', |
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
### Keybase proof | |
I hereby claim: | |
* I am andrewward on github. | |
* I am award1066 (https://keybase.io/award1066) on keybase. | |
* I have a public key ASD66i3AHMN1GqDVJNFl3xowX6xEnVMDrjfqL7OAv7_8kwo | |
To claim this, I am signing this object: |
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
import operator | |
import os | |
import time | |
import boto3 | |
import json | |
from common import * | |
dynamodb = boto3.client('dynamodb') |