Skip to content

Instantly share code, notes, and snippets.

View dongqing7's full-sized avatar

Dongqing dongqing7

  • Nanjing
View GitHub Profile
@typehorror
typehorror / crawler.md
Last active February 19, 2024 03:06
Simple Website Crawler (in python)

Simple Website Crawler

The following gist is an extract of the article Building a simple crawler. It allows crawling from a URL and for a given number of bounce.

Basic Usage

from crawler import Crawler
crawler = Crawler()
crawler.crawl('http://techcrunch.com/')

displays the urls