From 3126b094485af5a374d0ba400604a8b2805337af Mon Sep 17 00:00:00 2001 From: ssstvinc2 Date: Thu, 9 Feb 2017 10:18:18 -0500 Subject: VIM is fucking garbage --- legacy_py/update_stories.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 legacy_py/update_stories.py (limited to 'legacy_py/update_stories.py') diff --git a/legacy_py/update_stories.py b/legacy_py/update_stories.py new file mode 100755 index 0000000..4340148 --- /dev/null +++ b/legacy_py/update_stories.py @@ -0,0 +1,10 @@ +from get_sources import * + +nyt=get_nyt() +#fox=get_fox() +#nbc=get_nbc() + +url=nyt['h2']['href'][0] +print(url) +card=getTwitterCard("https://www.nytimes.com/2017/01/30/us/politics/trump-immigration-ban-memo.html") +#print(card) -- cgit v1.2.3