Ejemplo 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)
Ejemplo 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)
Ejemplo 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()
Ejemplo 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()
Ejemplo 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])
Ejemplo 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])