# Python web scraping libraries

Python web scraping libraries download web pages and extract data from their HTML. Price trackers, search indexes, and AI agents that read the web use these libraries to turn pages into structured records or clean text.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [beautifulsoup4](#beautifulsoup4) | 289.6M | Not on GitHub | Jun 2026 | MIT |
| [trafilatura](#trafilatura) | 12.9M | 7.1K | Oct 2026 | Apache-2.0 |
| [scrapy](#scrapy) | 4.3M | 65.3K | Nov 2026 | BSD-3-Clause |
| [parsel](#parsel) | 3.2M | 1.4K | Sep 2026 | BSD-3-Clause |
| [crawl4ai](#crawl4ai) | 1.3M | 87.1K | Oct 2026 | Apache-2.0 |
| [Scrapling](#scrapling) | 919.9K | 99.8K | Nov 2026 | BSD-3-Clause |
| [crawlee-python](#crawlee-python) | 818.7K | 9.7K | Nov 2026 | Apache-2.0 |
| [firecrawl](#firecrawl) | 702.0K | 199.8K | Nov 2026 | AGPL-3.0 |

Downloads: PyPI, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[beautifulsoup4](#beautifulsoup4) has the most installs, while [firecrawl](#firecrawl) has the most GitHub stars.

## Capabilities

| Library | Renders JavaScript pages | Crawls and follows links | Sends async requests | Selects with XPath | Output formats |
| --- | --- | --- | --- | --- | --- |
| [beautifulsoup4](#beautifulsoup4) | Unsupported | Unsupported | Unsupported | Unsupported | Text |
| [trafilatura](#trafilatura) | Unsupported | Built-in |  | Built-in | Markdown, JSON |
| [scrapy](#scrapy) | Via plugin | Via plugin | Built-in | Built-in | JSON, CSV, XML |
| [parsel](#parsel) | Unsupported | Unsupported | Unsupported | Built-in | Text |
| [crawl4ai](#crawl4ai) | Built-in | Built-in | Built-in | Built-in | Markdown, JSON |
| [Scrapling](#scrapling) | Built-in | Built-in | Built-in | Built-in | Markdown, JSON |
| [crawlee-python](#crawlee-python) | Built-in | Built-in | Built-in | Built-in | JSON, CSV |
| [firecrawl](#firecrawl) | Built-in | Built-in | Built-in | Unsupported | Markdown, JSON |

## Libraries

### beautifulsoup4

[Source](https://www.crummy.com/software/BeautifulSoup/bs4/) · [PyPI](https://pypi.org/project/beautifulsoup4/)

Beautiful Soup turns an HTML or XML document into a tree of Python objects that code can search and change. The library hands the raw parsing to a separate parser: Python's built-in `html.parser`, or `lxml` when it is installed. `find` returns the first tag that matches, and `find_all` returns every match. Broken markup, such as unclosed tags, still parses into a tree. Another library downloads the page first, since Beautiful Soup only parses.

- Downloads / mo: 289.6M
- Last release: 4.15.0, Jun 2026
- License: MIT
- Capabilities: [From the beautifulsoup4 docs](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)

**Strengths**

- **find and find_all.** find_all() returns every matching tag, and find() returns the first.
- **Handles broken HTML.** Reads pages with missing or mismatched tags.

**Watch out for**

- **Default parser misreads broken pages.** Install lxml, a faster parser, and use it for messy HTML.
- **CSS selectors only.** For XPath, a way to pick page elements by path, use parsel.
- **Slower than lxml.** For large pages, lxml on its own parses much faster.

```sh
pip install beautifulsoup4
```

**assafelovic/gpt-researcher** (30.6K stars)

[assafelovic/gpt-researcher](https://github.com/assafelovic/gpt-researcher) strips scripts, navigation, and footers from a scraped page with find_all() and decompose().

```python
def clean_soup(soup: BeautifulSoup) -> BeautifulSoup:
    """Clean the soup by removing unwanted tags"""
    for tag in soup.find_all(
        [
            "script",
            "style",
            "footer",
            "header",
            "nav",
            "menu",
            "sidebar",
            "svg",
        ]
    ):
        tag.decompose()

    disallowed_class_set = {"nav", "menu", "sidebar", "footer"}

    # clean tags with certain classes
    def does_tag_have_disallowed_class(elem) -> bool:
        if not isinstance(elem, bs4.Tag):
            return False

        return any(
            cls_name in disallowed_class_set for cls_name in elem.get("class", [])
        )

    for tag in soup.find_all(does_tag_have_disallowed_class):
        tag.decompose()

    return soup
```

[utils.py · clean_soup()](https://github.com/assafelovic/gpt-researcher/blob/da6356c24414f2ce89eb062b4749f5d339bd07a3/gpt_researcher/scraper/utils.py#L128-L158) · pushed Nov 2026 · [More projects using beautifulsoup4 →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20beautifulsoup4%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**CuriousLearner/GeeksForGeeksScrapper** (147 stars)

[CuriousLearner/GeeksForGeeksScrapper](https://github.com/CuriousLearner/GeeksForGeeksScrapper) collects article links from a category page with select(), then saves each article body.

```python
def scrape_category(category_url):
    try:
        soup = BeautifulSoup(requests.get(BASE_URL + category_url).text)
    except ConnectionError:
        print("Couldn't connect to Internet! Please check your connection & Try again.")
        exit(1)

    # Selecting links which are in the category page
    links = [a.attrs.get("href") for a in soup.select("article li a")]
    # ...
    for link in links:
        try:
            # ...
            link_soup = BeautifulSoup(requests.get(link).text)
            # Remove the space occupied by Google Ads (Drop script & ins node)
            [script.extract() for script in link_soup(["script", "ins"])]
            for code_tag in link_soup.find_all("pre"):
                code_tag["class"] = code_tag.get("class", []) + ["prettyprint"]
            article = link_soup.find("article")
            # Now add this article to list of all articles
            page = Article(
                title=link_soup.title.string, content=article.encode("UTF-8")
            )
            articles.append(page)
        # Sometimes hanging. So Ctrl ^ C, and try the next link.
        # Find out the reason & improve this.
        except KeyboardInterrupt:
            continue
        # ...
```

[g4g.py · scrape_category()](https://github.com/CuriousLearner/GeeksForGeeksScrapper/blob/1b683913d9eb3a1f60140920c33c46afc9c3de79/g4g.py#L95-L139) · pushed May 2020 · [More projects using beautifulsoup4 →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20beautifulsoup4%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from bs4 import BeautifulSoup

with open("index.html") as fp:
    soup = BeautifulSoup(fp, 'html.parser')

soup.title.string

for link in soup.find_all('a'):
    print(link.get('href'))

print(soup.get_text())
```

From [the docs](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)

### trafilatura

[GitHub](https://github.com/adbar/trafilatura) · [PyPI](https://pypi.org/project/trafilatura/) · [Docs](https://trafilatura.readthedocs.io)

Trafilatura is a Python package and command-line tool that downloads web pages and keeps their main text, dropping recurring parts such as headers, footers, and boilerplate. `fetch_url` downloads a page, and `extract` returns its text; with `with_metadata=True`, the result also includes the title, author, and date. Output formats include plain text, Markdown, CSV, JSON, HTML, XML, and XML-TEI, a format for text corpora. The package also finds new pages through sitemaps and RSS or Atom feeds.

- Downloads / mo: 12.9M
- Stars: 7.1K
- Last release: 2.3.1, Oct 2026
- License: Apache-2.0
- Capabilities: [From the trafilatura docs](https://trafilatura.readthedocs.io/en/latest/usage-python.html)

**Strengths**

- **Pulls the article text.** Returns the main text with title, author, and date, minus menus and footers.
- **Exports Markdown, JSON, or XML.** Also writes plain text.

**Watch out for**

- **Skips JavaScript-loaded text.** Reads static HTML only, so text added by scripts is missed.
- **Can miss text on unusual layouts.** Short or link-heavy pages can come back incomplete.

```sh
pip install trafilatura
```

**ranahaani/GNews** (1.0K stars)

[ranahaani/GNews](https://github.com/ranahaani/GNews) downloads a news article and extracts its full text with fetch_url() and extract().

```python
def get_full_article(self, url: str) -> dict:
    try:
        import trafilatura
    except ImportError as e:
        raise ImportError(
            "get_full_article() requires trafilatura. "
            "Install it with: pip install gnews[fulltext]"
        ) from e

    if self._proxy:
        downloaded = self._download_via_proxy(url)
    else:
        downloaded = trafilatura.fetch_url(url)
    if not downloaded:
        raise NetworkError(f"Could not download article from {url}")

    text = trafilatura.extract(downloaded, include_comments=False, include_tables=False)
    if not text:
        raise NetworkError(f"Could not extract article text from {url}")

    return {"text": text, "url": url}
```

[gnews.py · get_full_article()](https://github.com/ranahaani/GNews/blob/19af49f2812c4870889faf1827d62b2aaa4d4661/gnews/gnews.py#L230-L250) · pushed Oct 2026 · [More projects using trafilatura →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20trafilatura%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**tpai/summary-gpt-bot** (234 stars)

[tpai/summary-gpt-bot](https://github.com/tpai/summary-gpt-bot) scrapes the readable text of a page with trafilatura and splits it into paragraphs.

```python
def scrape_text_from_url(url):
    """
    Scrape the content from the URL
    """
    try:
        downloaded = trafilatura.fetch_url(url)
        text = trafilatura.extract(downloaded, include_formatting=True)
        if text is None:
            return []
        text_chunks = text.split("\n")
        article_content = [text for text in text_chunks if text]
        return article_content
    except Exception as e:
        print(f"Error: {e}")
```

[main.py · scrape_text_from_url()](https://github.com/tpai/summary-gpt-bot/blob/f741136dcd61001f883db71d35b46eeaac669f46/main.py#L30-L43) · pushed Sep 2025 · [More projects using trafilatura →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20trafilatura%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from trafilatura import fetch_url, extract

downloaded = fetch_url("https://github.blog/2019-03-29-leader-spotlight-erin-spiceland/")
print(extract(downloaded))
print(extract(downloaded, output_format="json", with_metadata=True))
```

From [the README](https://github.com/adbar/trafilatura/blob/master/README.md)

### scrapy

[GitHub](https://github.com/scrapy/scrapy) · [PyPI](https://pypi.org/project/scrapy/) · [Docs](https://scrapy.org)

Scrapy is a crawling framework maintained by Zyte. Each spider class lists its start URLs and a `parse` method that pulls items from every response with CSS selectors or XPath, a way to pick page elements by their path in the document. Links that `parse` returns go back to a scheduler, which sends requests asynchronously, so a slow or failed page doesn't hold up the others. `scrapy runspider` runs a single spider file, and feed exports write the items as JSON Lines, CSV, or XML.

- Downloads / mo: 4.3M
- Stars: 65.3K
- Last release: 2.20.0, Nov 2026
- License: BSD-3-Clause
- Capabilities: [From the scrapy docs](https://docs.scrapy.org/en/master/news.html)

**Strengths**

- **Concurrent requests.** Sends many requests at once across mostly static sites.
- **Built-in cleanup and export.** Pipelines check each record, and exporters write JSON or CSV.

**Watch out for**

- **No JavaScript by default.** Add the scrapy-playwright plugin for pages that need a browser.
- **More setup than a script.** Each crawl starts as a project folder with spider classes.

```sh
pip install scrapy
```

**wb14123/couplet-dataset** (745 stars)

[wb14123/couplet-dataset](https://github.com/wb14123/couplet-dataset) pulls a blog post's title and text with Scrapy CSS selectors and writes each couplet to a file.

```python
def parse_couplets(self, response):
    title = response.css('.articalTitle h2 ::text').extract_first()
    lines = response.css('.articalContent::text, .articalContent *::text').extract()
    output_file = open('output/' + title + '.txt', 'wb')
    mid = u'〓'
    end = u'◎'
    for line in lines:
        if (not mid in line) or (not end in line):
            continue
        line = line.replace(end, '').replace('|', '')
        words = re.split(r"[\u200b\s]+", line, flags=re.UNICODE)
        for word in words:
            if len(word.strip()) == 0:
                continue
            couplet = word.split(mid)
            if len(couplet) != 2:
                logging.warning("Error while process " + word)
                continue
            up, down = couplet
            if (not up) or (not down) or len(up) != len(down):
                logging.warning("Error while process " + word)
                continue
            output_file.write((up + u'\n').encode('utf8'))
            output_file.write((down + u'\n').encode('utf8'))
    output_file.close()
```

[sina_spider.py · parse_couplets()](https://github.com/wb14123/couplet-dataset/blob/4ea5d2e38b885a9bcc60df3c1f56b1a6d7b41fcc/sina_spider.py#L18-L42) · pushed Feb 2025 · [More projects using scrapy →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20scrapy%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**eliasdabbas/advertools** (1.5K stars)

[eliasdabbas/advertools](https://github.com/eliasdabbas/advertools) collects every image's attributes from a crawled page with XPath and resolves relative image URLs.

```python
def _extract_images(response):
    page_has_images = response.xpath("//img")
    if page_has_images:
        img_df = pd.DataFrame([x.attrib for x in response.xpath("//img")])
        if "src" in img_df:
            img_df["src"] = [
                response.urljoin(url) if isinstance(url, str) else url
                for url in img_df["src"]
            ]
        img_df = img_df.apply(lambda col: col.fillna("").str.cat(sep="@@")).to_frame().T
        img_df = img_df[img_df.columns.intersection(_IMG_ATTRS)]
        img_df = img_df.add_prefix("img_")
        d = img_df.to_dict("records")[0]
        return d
    return {}
```

[spider.py · _extract_images()](https://github.com/eliasdabbas/advertools/blob/24db4eb5875b6dae351d0b07631684ac12dd969e/advertools/spider.py#L524-L538) · pushed Jun 2026 · [More projects using scrapy →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20scrapy%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import scrapy

class QuotesSpider(scrapy.Spider):
    name = "quotes"
    start_urls = [
        "https://quotes.toscrape.com/tag/humor/",
    ]

    def parse(self, response):
        for quote in response.css("div.quote"):
            yield {
                "author": quote.xpath("span/small/text()").get(),
                "text": quote.css("span.text::text").get(),
            }

        next_page = response.css('li.next a::attr("href")').get()
        if next_page is not None:
            yield response.follow(next_page, self.parse)

# scrapy runspider quotes_spider.py -o quotes.jsonl
```

From [the docs](https://docs.scrapy.org/en/latest/intro/overview.html)

### parsel

[GitHub](https://github.com/scrapy/parsel) · [PyPI](https://pypi.org/project/parsel/)

Parsel extracts data from HTML and XML with CSS selectors and XPath expressions, and from JSON with JMESPath and JSONPath, two query languages for JSON. A `Selector` wraps the text, `css` or `xpath` narrows it, and `get` or `getall` returns the first match or every match. `re` runs a regular expression on any selection. Unlike [Scrapy](#scrapy), Parsel doesn't download pages; it parses text that another tool fetched.

- Downloads / mo: 3.2M
- Stars: 1.4K
- Last release: 1.12.1, Sep 2026
- License: BSD-3-Clause
- Capabilities: [From the parsel docs](https://parsel.readthedocs.io/en/latest/usage.md)

**Strengths**

- **CSS, XPath, and JSON queries.** One Selector runs CSS or XPath on HTML, and JSON queries on JSON.
- **Built on lxml.** Selectors run on lxml, a parser written in C.

**Watch out for**

- **Doesn't download pages.** Fetch the HTML with another tool first.
- **Can't run JavaScript.** Render the page with Playwright, a browser automation tool, then parse it.

```sh
pip install parsel
```

**scrapfly/scrapfly-scrapers** (1.1K stars)

[scrapfly/scrapfly-scrapers](https://github.com/scrapfly/scrapfly-scrapers) parses a sitemap feed with a parsel Selector and returns each listing URL with its last-modified date.

```python
async def scrape_feed(url) -> Dict[str, datetime]:
    """scrapes atom RSS feed and returns all entries in "url:publish date" format"""
    result = await SCRAPFLY.async_scrape(ScrapeConfig(url, **BASE_CONFIG, retry=True))
    body = result.content
    # parse as XML and drop the sitemap namespace: parsel >= 1.12 detects XML from the <?xml declaration on its own
    selector = Selector(text=body, type="xml")
    selector.remove_namespaces()
    results = {}
    for item in selector.xpath("//sitemap"):
        url = item.xpath("loc/text()").get()
        pub_date = item.xpath("lastmod/text()").get()
        results[url] = datetime.fromisoformat(pub_date)
    return results
```

[realtorcom.py · scrape_feed()](https://github.com/scrapfly/scrapfly-scrapers/blob/ed9dd1e813e5188a48b8523f9f278567e9806818/realtorcom-scraper/realtorcom.py#L276-L288) · pushed Nov 2026 · [More projects using parsel →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20parsel%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from parsel import Selector
sel = Selector(text='<div class="hero shout"><time datetime="2014-07-23 19:00">Special date</time></div>')
sel.css('.shout').xpath('./time/@datetime').getall()
```

From [the docs](https://github.com/scrapy/parsel/blob/9516976cf8e1a28c195e42474f5c410a34d6bb06/docs/usage.rst)

### crawl4ai

[GitHub](https://github.com/unclecode/crawl4ai) · [PyPI](https://pypi.org/project/crawl4ai/) · [Docs](https://crawl4ai.com/?ref=github-about)

crawl4ai loads pages in a browser that Playwright controls and turns them into Markdown or structured JSON for LLM pipelines. After the pip install, a setup command installs the browser once. `AsyncWebCrawler` opens a crawler, and `arun` on a URL returns a result whose `markdown` field contains the page text. The open source crawler, under the Apache license, also powers a hosted API from the same team.

- Downloads / mo: 1.3M
- Stars: 87.1K
- Last release: 0.9.5, Oct 2026
- License: Apache-2.0
- Capabilities: [From the crawl4ai docs](https://docs.crawl4ai.com/core/page-interaction/)

**Strengths**

- **Turns pages into Markdown.** Renders each page in a browser, then converts it to Markdown for an LLM.
- **No per-page cost.** Free to run at any volume when self-hosted.

**Watch out for**

- **A browser per crawl.** Each crawl drives a headless browser, which takes more memory than an HTTP fetch. For many URLs, arun_many runs a memory-adaptive dispatcher.
- **Browser installed separately.** Playwright's Chromium is installed after the package, with the setup command or `python -m playwright install`.

```sh
pip install crawl4ai
```

**Barabama/FreeNodes** (3.4K stars)

[Barabama/FreeNodes](https://github.com/Barabama/FreeNodes) fetches a page with AsyncWebCrawler and returns its Markdown, HTML, and links.

```python
async def fetch_page(url: str, timeout_ms: int = 60000) -> Page:
    """Fetch a page via Crawl4AI and return structured content."""
    try:
        async with AsyncWebCrawler() as crawler:
            result = await crawler.arun(
                url=url,
                config=CrawlerRunConfig(
                    cache_mode=CacheMode.BYPASS,
                    page_timeout=timeout_ms,
                ),
            )
        if not result.success:
            return Page(url=url, success=False, error=result.error_message, markdown="", html="", links=[])

        md_obj = result.markdown
        markdown_text = ""
        if md_obj and hasattr(md_obj, "raw_markdown"):
            markdown_text = md_obj.raw_markdown or ""

        links: list[dict] = []
        for scope in ("internal", "external"):
            for link in (result.links or {}).get(scope, []):
                href = link.get("href", "")
                if href and not href.startswith("javascript:"):
                    links.append({"href": href, "text": link.get("text", "")[:200]})

        return Page(url=url, markdown=markdown_text, html=result.html or "", links=links)

    except Exception as e:
        return Page(url=url, success=False, error=str(e), markdown="", html="", links=[])
```

[crawler.py · fetch_page()](https://github.com/Barabama/FreeNodes/blob/4ef2fa249c7c31693a2103b16996eac68a691e6d/src/crawler.py#L17-L46) · pushed Nov 2026 · [More projects using crawl4ai →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20crawl4ai%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**weidwonder/crawl4ai-mcp-server** (155 stars)

[weidwonder/crawl4ai-mcp-server](https://github.com/weidwonder/crawl4ai-mcp-server) crawls a page in a headless browser and returns it as Markdown with citations or filtered HTML.

```python
async def read_url(url: str, format: str = "markdown_with_citations") -> str:
    # ...
    global crawler
    if not crawler:
        await initialize_crawler()

    run_config = CrawlerRunConfig(
        cache_mode=CacheMode.BYPASS,
        word_count_threshold=10,
        excluded_tags=["nav", "footer", "header"],
        markdown_generator=DefaultMarkdownGenerator(
            options={"citations": True}
        )
    )

    try:
        result = await crawler.arun(url=url, config=run_config)

        content = None
        if format == "raw_markdown":
            content = result.markdown_v2.raw_markdown
        elif format == "markdown_with_citations":
            content = result.markdown_v2.markdown_with_citations
        elif format == "references_markdown":
            content = result.markdown_v2.references_markdown
        elif format == "fit_markdown":
            content = result.markdown_v2.fit_markdown
        elif format == "fit_html":
            content = result.markdown_v2.fit_html
        else:
            content = result.markdown_v2.markdown_with_citations
        # ...
        return content
    except Exception as e:
        error_msg = f"Error crawling URL: {str(e)}"
        print(error_msg)
        return json.dumps({"error": error_msg}, ensure_ascii=False)
```

[index.py · read_url()](https://github.com/weidwonder/crawl4ai-mcp-server/blob/cc0cc62811fa1de5dedc23db4199602a0cb34e10/src/index.py#L47-L114) · pushed Jan 2026 · [More projects using crawl4ai →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20crawl4ai%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import asyncio
from crawl4ai import AsyncWebCrawler

async def main():
    async with AsyncWebCrawler() as crawler:
        result = await crawler.arun(url="https://news.ycombinator.com")
        print(result.markdown)

asyncio.run(main())
```

From [the README](https://github.com/unclecode/crawl4ai/blob/cae74b203a33994f7e13b9052c3b0d5c93daa0e6/README.md)

### Scrapling

[GitHub](https://github.com/D4Vinci/Scrapling) · [PyPI](https://pypi.org/project/scrapling/) · [Docs](https://scrapling.readthedocs.io/en/latest/)

Scrapling combines HTTP requests, stealth browsers that render JavaScript, parsing, and concurrent crawling in one Python library. `Fetcher.get` downloads a page, and `css` or `xpath` selects elements from it; adaptive tracking finds an element again after the site's markup changes. Spider classes add proxy rotation, retries, pause and resume, and exports to JSON, CSV, or XML. An MCP server, a standard interface for AI tools, lets agents run the same fetches.

- Downloads / mo: 919.9K
- Stars: 99.8K
- Last release: 0.5.1, Nov 2026
- License: BSD-3-Clause
- Capabilities: [From the Scrapling docs](https://scrapling.readthedocs.io/en/latest/fetching/stealthy.html)

**Strengths**

- **Selectors survive site changes.** With adaptive=True, a selector that stops matching finds its element again.
- **Crawls and exports built in.** Runs concurrent crawls with retries and exports JSON, CSV, or XML.
- **Gets past bot checks.** Anti-bot evasion is built in, so blocked pages need no extra tool.

**Watch out for**

- **One machine per crawl.** Splitting a crawl across machines needs another tool.
- **API still changes.** Still a 0.x release, so pin the version and read release notes before upgrading.
- **One main maintainer.** Most commits come from a single author.

```sh
pip install scrapling
```

**shirenchuang/web-content-fetcher** (613 stars)

[shirenchuang/web-content-fetcher](https://github.com/shirenchuang/web-content-fetcher) fetches a JavaScript-rendered or protected page in Scrapling's headless StealthyFetcher.

```python
def fetch_stealth(url, max_chars=30000, timeout=30000):
    """
    Headless browser fetch — executes JavaScript, bypasses anti-scraping.
    Required for: WeChat articles, Zhihu, Juejin, and other JS-rendered pages.
    Slower (~5-15s) but more reliable for protected content.
    """
    from scrapling.fetchers import StealthyFetcher
    _suppress_scrapling_logs()

    page = StealthyFetcher().fetch(
        url,
        headless=True,
        network_idle=True,
        timeout=timeout,
    )
    return extract_content(page, url, max_chars)
```

[fetch.py · fetch_stealth()](https://github.com/shirenchuang/web-content-fetcher/blob/f752656faccbee1625cbd698d7812e1700dd1be7/scripts/fetch.py#L147-L162) · pushed Mar 2026 · [More projects using Scrapling →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20scrapling%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**shirenchuang/web-content-fetcher** (613 stars)

[shirenchuang/web-content-fetcher](https://github.com/shirenchuang/web-content-fetcher) fetches a static page over plain HTTP with Scrapling's Fetcher and stealthy headers.

```python
def fetch_fast(url, max_chars=30000, timeout=15):
    """
    Fast HTTP fetch — no JavaScript execution.
    Works for most blogs and static sites.
    """
    from scrapling.fetchers import Fetcher
    _suppress_scrapling_logs()

    page = Fetcher().get(url, timeout=timeout, stealthy_headers=True)
    return extract_content(page, url, max_chars)
```

[fetch.py · fetch_fast()](https://github.com/shirenchuang/web-content-fetcher/blob/f752656faccbee1625cbd698d7812e1700dd1be7/scripts/fetch.py#L135-L144) · pushed Mar 2026 · [More projects using Scrapling →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20scrapling%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from scrapling.fetchers import Fetcher

page = Fetcher.get('https://quotes.toscrape.com/')
quotes = page.css('.quote .text::text').getall()
print(quotes)
```

From [the README](https://github.com/D4Vinci/Scrapling/blob/main/README.md)

### crawlee-python

[GitHub](https://github.com/apify/crawlee-python) · [PyPI](https://pypi.org/project/crawlee/) · [Docs](https://crawlee.dev/python/)

Crawlee, from Apify, crawls sites through a set of crawler classes that share routing, storage, and proxy rotation. `BeautifulSoupCrawler` downloads pages over HTTP and parses them with Beautiful Soup, while `PlaywrightCrawler` drives a headless browser for pages that build their content with JavaScript. Each run writes its results to a `storage` folder in the working directory. Optional extras keep the base install small, and a TypeScript version shares the same design.

- Downloads / mo: 818.7K
- Stars: 9.7K
- Last release: 1.11.1, Nov 2026
- License: Apache-2.0
- Capabilities: [From the crawlee-python docs](https://crawlee.dev/python/docs/guides/scrapy-migration)

**Strengths**

- **One API for HTTP and browsers.** The same crawler code works over plain HTTP or in a full browser.
- **Parallel by default.** Runs as many requests at once as the machine's CPU and memory allow.

**Watch out for**

- **Browser crawls are slower.** Use BeautifulSoupCrawler for pages that need no JavaScript.

```sh
pip install crawlee
```

**zeenie-ai/OpenCompany** (1.1K stars)

[zeenie-ai/OpenCompany](https://github.com/zeenie-ai/OpenCompany) crawls a site with Crawlee's BeautifulSoupCrawler and saves each page's title, text, and links.

```python
async def _run_beautifulsoup(
    url, pages, p, proxy_config, css_selector, extract_links, output_format, mode, max_pages, max_depth, max_concurrency, timeout_secs
):
    # ...

    crawler = BeautifulSoupCrawler(
        max_requests_per_crawl=max_pages,
        max_crawl_depth=max_depth if mode == "crawl" else 0,
        request_handler_timeout=timedelta(seconds=timeout_secs),
        concurrency_settings=ConcurrencySettings(
            max_concurrency=max_concurrency,
            desired_concurrency=min(max_concurrency, 10),
        ),
        storage_client=MemoryStorageClient(),
        proxy_configuration=proxy_config,
        configure_logging=False,
    )
    # ...

    @crawler.router.default_handler
    async def handler(ctx: BeautifulSoupCrawlingContext) -> None:
        title = ctx.soup.title.string if ctx.soup.title else ""
        content = _extract_text(ctx.soup, css_selector, output_format)
        page_data: Dict[str, Any] = {
            "url": ctx.request.url,
            "title": title,
            "content": content,
        }
        if extract_links:
            page_data["links"] = _extract_links(ctx.soup, ctx.request.url)
        pages.append(page_data)

        if mode == "crawl":
            # ...
            await ctx.enqueue_links(**kwargs)

    await asyncio.wait_for(crawler.run([url]), timeout=timeout_secs)
```

[__init__.py · _run_beautifulsoup()](https://github.com/zeenie-ai/OpenCompany/blob/0bed1d361e28903737578fac2e5c22af58963eb9/server/nodes/scraper/crawlee_scraper/__init__.py#L70-L114) · pushed Nov 2026 · [More projects using crawlee-python →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20crawlee%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**CloakHQ/CloakBrowser** (32.8K stars)

[CloakHQ/CloakBrowser](https://github.com/CloakHQ/CloakBrowser) crawls pages with Crawlee's PlaywrightCrawler and saves each page's URL and title.

```python
async def main() -> None:
    crawler = PlaywrightCrawler(
        max_requests_per_crawl=10,
        browser_pool=BrowserPool(plugins=[CloakBrowserPlugin()]),
    )

    @crawler.router.default_handler
    async def request_handler(context: PlaywrightCrawlingContext) -> None:
        context.log.info(f'Processing {context.request.url} ...')
        title = await context.page.title()
        await context.push_data({'url': context.request.url, 'title': title})
        await context.enqueue_links()

    await crawler.run(['https://example.com'])
```

[crawlee_example.py · main()](https://github.com/CloakHQ/CloakBrowser/blob/2ded0c1866e3d283d6654eb576686f21a98fadb6/examples/integrations/crawlee_example.py#L55-L68) · pushed Nov 2026 · [More projects using crawlee-python →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20crawlee%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
import asyncio
from crawlee.crawlers import BeautifulSoupCrawler, BeautifulSoupCrawlingContext

async def main() -> None:
    crawler = BeautifulSoupCrawler(
        max_requests_per_crawl=10,
    )
    @crawler.router.default_handler
    async def request_handler(context: BeautifulSoupCrawlingContext) -> None:
        data = {
            'title': context.soup.title.string if context.soup.title else None,
        }
        await context.push_data(data)
    await crawler.run(['https://crawlee.dev'])

if __name__ == '__main__':
    asyncio.run(main())
```

From [the README](https://github.com/apify/crawlee-python/blob/f25d47e92b9491c67697364d5d93f23efff74922/README.md)

### firecrawl

[GitHub](https://github.com/firecrawl/firecrawl) · [PyPI](https://pypi.org/project/firecrawl/) · [Docs](https://firecrawl.dev)

Firecrawl turns websites into Markdown for AI agents and comes in three forms: Firecrawl Local, a single program for one machine; Firecrawl Cloud, the hosted service; and a self-hosted server. Scrape returns one page, crawl follows a site's links, and map lists its URLs. The Python SDK, installed with `pip install firecrawl`, works with all three, and pointing it at Firecrawl Local needs no API key. Pages that need JavaScript render in a locally installed Chrome or Chromium.

- Downloads / mo: 702.0K
- Stars: 199.8K
- Last release: 4.55.0, Nov 2026
- License: AGPL-3.0
- Capabilities: [From the firecrawl docs](https://docs.firecrawl.dev/capabilities)

**Strengths**

- **Returns LLM-ready Markdown.** Output keeps headings and links and needs no extra cleanup.

**Watch out for**

- **Cloud-only features.** Structured JSON, screenshots, browser actions, and the Agent run only on Firecrawl Cloud.
- **Rust for the local build.** Firecrawl Local installs from crates.io and needs Rust and a C compiler.
- **Paid hosted API.** The cloud API charges per use and has rate limits.

```sh
pip install firecrawl
```

**disler/single-file-agents** (437 stars)

[disler/single-file-agents](https://github.com/disler/single-file-agents) scrapes a page to Markdown with Firecrawl's scrape_url and saves it to a file.

```python
def scrape_url(reasoning: str, url: str, output_file_path: str) -> str:
    """Scrapes content from a URL and saves it to a file."""
    log_function_call(
        "scrape_url",
        {"reasoning": reasoning, "url": url, "output_file_path": output_file_path},
    )

    try:
        response = firecrawl_app.scrape_url(
            url=url,
            params={
                "formats": ["markdown"],
            },
        )

        if response.get("markdown"):
            content = response["markdown"]
            with open(output_file_path, "w") as f:
                f.write(content)
            log_function_result(
                "scrape_url", f"Successfully scraped {len(content)} characters"
            )
            return content
        else:
            error = response.get("error", "Unknown error")
            log_error(f"Error scraping URL: {error}")
            return ""
    except Exception as e:
        log_error(f"Error scraping URL: {str(e)}")
        return ""
```

[sfa_scrapper_agent_openai_v2.py · scrape_url()](https://github.com/disler/single-file-agents/blob/78563f85152a95da020d0f50c3d3273f70d18cd0/sfa_scrapper_agent_openai_v2.py#L230-L259) · pushed Apr 2025 · [More projects using firecrawl →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20firecrawl%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Ztrimus/ResumeFlow** (230 stars)

[Ztrimus/ResumeFlow](https://github.com/Ztrimus/ResumeFlow) scrapes a job posting to clean Markdown with FirecrawlApp, returning nothing on failure.

```python
def _scrape_firecrawl(url: str) -> str | None:
    """Scrape *url* with Firecrawl and return clean markdown, or None on failure."""
    api_key = os.environ.get("FIRECRAWL_API_KEY", "").strip()
    if not api_key:
        logger.debug("FIRECRAWL_API_KEY not set — skipping Firecrawl")
        return None
    if not _firecrawl_available:
        logger.debug("firecrawl-py not installed — skipping Firecrawl")
        return None

    try:
        app = _FirecrawlApp(api_key=api_key)
        result = app.scrape_url(url, params={"formats": ["markdown"]})
        markdown = result.get("markdown", "").strip()
        if markdown:
            logger.info("Firecrawl: successfully scraped %s (%d chars)", url, len(markdown))
            return markdown
        logger.warning("Firecrawl: empty markdown for %s", url)
        return None
    except Exception as exc:
        logger.warning("Firecrawl failed for %s: %s", url, exc)
        return None
```

[scraper.py · _scrape_firecrawl()](https://github.com/Ztrimus/ResumeFlow/blob/de36dde0cd06a08592f7ea7e2c6bccb28f40fca3/zlm/utils/scraper.py#L35-L56) · pushed Jun 2026 · [More projects using firecrawl →](https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20firecrawl%20for%20web%20scraping%2C%20fetching%20pages%20and%20extracting%20data%20from%20HTML&filters=%7B%22highlights%22%3Atrue%2C%22numResults%22%3A10%2C%22type%22%3A%22auto%22%2C%22includeDomains%22%3A%5B%22github.com%22%5D%7D)

**Quickstart**

```python
from firecrawl import Firecrawl

app = Firecrawl(api_key="fc-YOUR_API_KEY")

result = app.scrape('firecrawl.dev')
```

From [the README](https://github.com/firecrawl/firecrawl/blob/main/README.md)

## FAQ

### What is the best Python web scraping library?

It depends on the job. [Scrapy](#scrapy) crawls large sites, [crawl4ai](#crawl4ai) reads pages that load content with JavaScript, and [beautifulsoup4](#beautifulsoup4) parses HTML and has 289.6M downloads a month.

### Which Python scraping libraries handle JavaScript pages?

[crawl4ai](#crawl4ai), [Scrapling](#scrapling), [crawlee-python](#crawlee-python), and [firecrawl](#firecrawl) render JavaScript pages with built-in browser support. [scrapy](#scrapy) needs a plugin, and [beautifulsoup4](#beautifulsoup4), [parsel](#parsel), and [trafilatura](#trafilatura) read static HTML only. See [the feature table](#capabilities).

### Scrapy vs Beautiful Soup: which is better?

[scrapy](#scrapy) is better for crawling whole sites: it schedules requests, follows links, and exports items to JSON or CSV. [beautifulsoup4](#beautifulsoup4) is better for searching one page, with find() for the first match and find_all() for every match. Beautiful Soup does not crawl or follow links.

### crawl4ai vs Firecrawl: which is better?

[crawl4ai](#crawl4ai) is a free Apache-2.0 library that runs a headless browser on the user's own machines. [firecrawl](#firecrawl) is a hosted API that charges per use, with a self-hostable server that takes more setup. Both return Markdown or JSON for LLM pipelines.

### What is an open-source alternative to Firecrawl?

[crawl4ai](#crawl4ai) is the closest open-source match: it renders pages in a headless browser and returns Markdown or JSON, with no per-page cost when self-hosted. [Scrapling](#scrapling) and [crawlee-python](#crawlee-python) also render JavaScript pages.

### What is Beautiful Soup?

[beautifulsoup4](#beautifulsoup4) parses an HTML or XML page into a tree that find(), find_all(), and CSS selectors can search. It has 289.6M downloads a month, more than any other Python scraping library.

### What is Firecrawl?

[firecrawl](#firecrawl) is a hosted API, with a self-hostable server, that scrapes, crawls, and maps sites. It returns LLM-ready Markdown or structured JSON.

## How this page was built

Data checked Nov 10, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "open source Python libraries for web scraping, fetching pages and extracting data from HTML",
    "numResults": 20,
    "type": "auto",
    "includeDomains": [
      "github.com"
    ]
  }
}
```

The other calls behind this page:

```
POST /search
Query: Python web scraping library package
Within: github.com
```

```
POST /contents
Reads: https://www.crummy.com/software/BeautifulSoup/bs4/, https://www.crummy.com/software/BeautifulSoup/bs4/, https://pypi.org/project/beautifulsoup4/
```

```
POST /answer
Query: Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library beautifulsoup4 (beautifulsoup4) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses beautifulsoup4 for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/adbar/trafilatura, https://trafilatura.readthedocs.io, https://pypi.org/project/trafilatura/
```

```
POST /answer
Query: Can the Python library trafilatura (trafilatura on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library trafilatura (trafilatura on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library trafilatura (trafilatura on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library trafilatura (trafilatura on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library trafilatura (trafilatura) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses trafilatura for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/CodeAlive-AI/ai-driven-development/blob/4d670ef6de186a2532d88bf8c694bfc4b1c03301/skills/fetch-url-as-markdown/scripts/fetch_url.py
```

```
POST /contents
Reads: https://github.com/scrapy/scrapy, https://scrapy.org, https://pypi.org/project/scrapy/
```

```
POST /answer
Query: Can the Python library scrapy (scrapy on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library scrapy (scrapy on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library scrapy (scrapy on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library scrapy (scrapy on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library scrapy (scrapy) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses scrapy for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/donnemartin/spiders/blob/2cdf16a2d1c69503acd5d792a9a8e615d9e990cb/spiders/spiders/awsdocs.py
```

```
POST /contents
Reads: https://github.com/scrapy/parsel, https://pypi.org/project/parsel/
```

```
POST /answer
Query: Can the Python library parsel (parsel on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library parsel (parsel on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library parsel (parsel on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library parsel (parsel on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library parsel (parsel) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses parsel for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/scrapfly/scrapfly-scrapers/blob/ed9dd1e813e5188a48b8523f9f278567e9806818/realtorcom-scraper/realtorcom.py
```

```
POST /contents
Reads: https://github.com/RuthGnz/SpyScrap/blob/854070350501e11cf85bef4161b2bda022b0141c/src/osint_sources/twitter.py
```

```
POST /contents
Reads: https://github.com/unclecode/crawl4ai, https://crawl4ai.com/?ref=github-about, https://pypi.org/project/crawl4ai/
```

```
POST /answer
Query: Can the Python library crawl4ai (crawl4ai on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library crawl4ai (crawl4ai on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library crawl4ai (crawl4ai on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library crawl4ai (crawl4ai on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library crawl4ai (crawl4ai) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses crawl4ai for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/cyberagiinc/DevDocs/blob/a3dd9fd2aac83b0d78f249ebf80f700a3e6b8d92/backend/app/config.py
```

```
POST /contents
Reads: https://github.com/wecode-ai/Wegent/blob/f701f1ff874364370dc8347c6cf8a1045f1175da/backend/app/services/web_scraper/scraper_service.py
```

```
POST /contents
Reads: https://github.com/JJJJSTIYYYY/alira/blob/bb5aa93dc5dce1302dfd9960cc56009afdb1a7f3/AGENT/agent_module/apix_agent/apix_agent_core/tools/web_search/providers/crawl4ai.py
```

```
POST /contents
Reads: https://github.com/RamsesAguirre777/facebook-ads-library-mcp/blob/ea3c877855c16fb4594f640634d06f85e414eadb/facebook_ads_mcp_complete.py
```

```
POST /contents
Reads: https://github.com/D4Vinci/Scrapling, https://scrapling.readthedocs.io/en/latest/, https://pypi.org/project/scrapling/
```

```
POST /answer
Query: Can the Python library Scrapling (scrapling on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library Scrapling (scrapling on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library Scrapling (scrapling on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library Scrapling (scrapling on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library Scrapling (scrapling) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses scrapling for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/MODSetter/SurfSense/blob/1f4069541fb8faa14b0b2d29bd3d49359c47446d/backend/plugins/proprietary/reddit/fetch.py
```

```
POST /contents
Reads: https://github.com/apify/crawlee-python, https://crawlee.dev/python/, https://pypi.org/project/crawlee/
```

```
POST /answer
Query: Can the Python library crawlee-python (crawlee on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library crawlee-python (crawlee on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library crawlee-python (crawlee on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library crawlee-python (crawlee on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library crawlee-python (crawlee) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses crawlee for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/zeenie-ai/OpenCompany/blob/0bed1d361e28903737578fac2e5c22af58963eb9/server/nodes/scraper/crawlee_scraper/__init__.py
```

```
POST /contents
Reads: https://github.com/firecrawl/firecrawl, https://firecrawl.dev, https://pypi.org/project/firecrawl/
```

```
POST /answer
Query: Can the Python library firecrawl (firecrawl on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library firecrawl (firecrawl on PyPI) crawl a website by following links on its own? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library firecrawl (firecrawl on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: Can the Python library firecrawl (firecrawl on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.
Returns:
  - answer
  - how
  - evidence
```

```
POST /answer
Query: What output formats can the Python library firecrawl (firecrawl) return or write scraped content as? Answer from its own documentation.
Returns:
  - formats
  - evidence
```

```
POST /search
Query: Python project that uses firecrawl for web scraping, fetching pages and extracting data from HTML, application code
Within: github.com
```

```
POST /contents
Reads: https://github.com/break-into-data/ai-engineer-toolkit/blob/7bee207de261661138c4c7358963ad3757ed9172/sandbox/hiring-agent/utils/utils.py
```

```
POST /contents
Reads: https://playwright.dev/python/
```

Docs: https://exa.ai/docs/reference/search
