Skip to content

Tie everything together better #11

@benjohnsonnlp

Description

@benjohnsonnlp

The main code in go.py is ridiculously complex and non-pythonic.

I should be able to do

c = Crawler(
   'http://pokemon.wikia.com', 
   '/wiki/Bulbasaur', 
   limit=800, 
   graph=NeoGraph("bolt://localhost:7687", 'neo4j', 'password'), 
   extractors=[PokemonExtractor(), SkillExtractor(), ]
)

c.crawl()
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringImprove organization (not a bug or feature)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions