예제 #1
0
def test():
    r = requests.get(base_url + "allswell" + "/full.html")

    text = get_lines(r.text)
    #print(text[21:ind])
    
    Novella_Parser.parse_book("allswell", text)
예제 #2
0
def main():
    
    for book in books:
        
        print("Getting " + book)
        
        r = requests.get(base_url + book + "/full.html")
        
        text = get_lines(r.text)
        
        Novella_Parser.parse_book(book, text)
    
    print "Done :)"