Esempio n. 1
0
def wrap():
  f=open('keywords.txt','r')
  for keyword in f.readlines():
    print "WRAPPING THE NY TIMES WHIT KEYWORD: "+keyword.replace('\n','')
    wrapNYTimes(keyword)
    print "WRAPPING THE WASHINGTON POST WHIT KEYWORD: "+keyword.replace('\n','')
    wrapWPost(keyword)
Esempio n. 2
0
def wrap():
    f = open('keywords.txt', 'r')
    for keyword in f.readlines():
        print "WRAPPING THE NY TIMES WHIT KEYWORD: " + keyword.replace(
            '\n', '')
        wrapNYTimes(keyword)
        print "WRAPPING THE WASHINGTON POST WHIT KEYWORD: " + keyword.replace(
            '\n', '')
        wrapWPost(keyword)
Esempio n. 3
0
def perform():
    keywordList = wrapKeyword()
    for i in range(50):
        if (i < len(keywordList)):
            keyword = keywordList[i]
        else:
            break
        #keyword, maxPage, past day
        wrapNYTimes(keyword[0])
        wrapWPost(keyword[0])
    maestro.analyzeAll()
Esempio n. 4
0
def perform():
    keywordList = wrapKeyword()
    for i in range(50):
        if(i<len(keywordList)):
            keyword = keywordList[i]
        else:
            break
        #keyword, maxPage, past day
        wrapNYTimes(keyword[0])
        wrapWPost(keyword[0])
    maestro.analyzeAll()
Esempio n. 5
0
def perform():
    keywordList = wrapKeyword()
    for i in range(50):
        if (i < len(keywordList)):
            keyword = keywordList[i]
        else:
            break
        #keyword, maxPage, past day
        print "WRAPPING THE NY TIMES WHIT KEYWORD: " + keyword[0]
        wrapNYTimes(keyword[0])
        print "WRAPPING THE WASHINGTON POST WHIT KEYWORD: " + keyword[0]
        wrapWPost(keyword[0])
Esempio n. 6
0
def perform():
    keywordList = wrapKeyword()
    for i in range(50):
        if(i<len(keywordList)):
            keyword = keywordList[i]
        else:
            break
        #keyword, maxPage, past day
        print "WRAPPING THE NY TIMES WHIT KEYWORD: "+keyword[0]
        wrapNYTimes(keyword[0])
        print "WRAPPING THE WASHINGTON POST WHIT KEYWORD: "+keyword[0]
        wrapWPost(keyword[0])