indrajithi / tiny-web-crawler

A simple and easy to use web crawler for Python
MIT License
55 stars 11 forks source link

Make `Spider` importable from main module #26

Closed Mews closed 1 week ago

Mews commented 1 week ago

Feels like you should be able to do from tiny_web_crawler import Spider, not just from tiny_web_crawler.crawler import Spider

Would be as simple as adding from tiny_web_crawler.crawler import Spider to __init__.py

Edit:

indrajithi commented 1 week ago

I think we should prioritise this because after #9, our usage doc is outdated. We can also consider releasing a beta version v.0.4.0-beta.1 and make sure the current changes are working.