forked from scottsfarley93/NewsScrapers
/
__init__.py
45 lines (36 loc) · 909 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
__author__ = 'scottsfarley'
"""Purpose: Download text with a keyword to a json file
Input: Keyword
StartDate
EndDate
Output: JSON File
{
summary:
number of content (articles, tweets, etc)
number of words
start date
end date
number of days of coverage
content:
day
date
number of words
number of content
entity
date
number of words
raw text
title (if applicable)
author (if applicable)
other ?
"""
import NYT
import Twitter
import NPR
import Guardian
import Tumblr
NYT.test()
Twitter.test()
NPR.test()
Guardian.test()
Tumblr.test()