@cli.command('<STR_LIT>')<EOL>@click.argument('<STR_LIT:url>', type=str)<EOL>@click.pass_context<EOL>def scrape(ctx, url):
data = load_feed(url)<EOL>feed = data['<STR_LIT>']<EOL>entries = data['<STR_LIT>']<EOL>_type = '<STR_LIT>'<EOL>country = '<STR_LIT>'<EOL>for entry in entries:<EOL><INDENT>_id = sluggify(entry['<STR_LIT:id>'])<EOL>city = entry['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT>']<EOL>landing = entry['<STR_LIT>']<EOL>start_time = dt_normalize(entry['<STR_LIT>'], local_tz=True)<EOL>title = entry['<STR_LIT:title>']<EOL>summary = entry['<STR_LIT>']<EOL>link = entry['<STR_LIT>']<EOL>ipdb.set_trace()<EOL><DEDENT>
Rip the events from a given rss feed, normalize the data and store.