diff options
author | ssstvinc2 <sstvinc2@gmail.com> | 2017-02-09 10:18:18 -0500 |
---|---|---|
committer | ssstvinc2 <sstvinc2@gmail.com> | 2017-02-09 10:18:18 -0500 |
commit | 3126b094485af5a374d0ba400604a8b2805337af (patch) | |
tree | 51beba6742b91022c12c7d7a1ca89d247614efe1 /legacy_py/update_stories.py |
VIM is fucking garbage
Diffstat (limited to 'legacy_py/update_stories.py')
-rwxr-xr-x | legacy_py/update_stories.py | 10 |
1 files changed, 10 insertions, 0 deletions
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)
|