{
  "id": "task_libraries:web-scraping/python",
  "path": "/exapedia/python-web-scraping-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python web scraping libraries",
  "answer": [
    {
      "t": "text",
      "text": "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."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python web scraping libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#beautifulsoup4",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F1"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F2"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F5"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F3"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#trafilatura",
                  "label": [
                    {
                      "t": "text",
                      "text": "trafilatura"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F26"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F27"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F30"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F28"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#scrapy",
                  "label": [
                    {
                      "t": "text",
                      "text": "scrapy"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F51"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F52"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F55"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F53"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#parsel",
                  "label": [
                    {
                      "t": "text",
                      "text": "parsel"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F77"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F78"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F81"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F79"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#crawl4ai",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F108"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F110"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F113"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F111"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#scrapling",
                  "label": [
                    {
                      "t": "text",
                      "text": "Scrapling"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#crawlee-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#firecrawl",
                  "label": [
                    {
                      "t": "text",
                      "text": "firecrawl"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#beautifulsoup4",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most installs, while "
        },
        {
          "t": "link",
          "href": "#firecrawl",
          "label": [
            {
              "t": "text",
              "text": "firecrawl"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most GitHub stars."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Renders JavaScript pages",
            "Crawls and follows links",
            "Sends async requests",
            "Selects with XPath",
            "Output formats"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#beautifulsoup4",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F1"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F7"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F8"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F9"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F10"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#trafilatura",
                  "label": [
                    {
                      "t": "text",
                      "text": "trafilatura"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F31"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [],
              [
                {
                  "t": "fact",
                  "fact": "F33"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#scrapy",
                  "label": [
                    {
                      "t": "text",
                      "text": "scrapy"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F56"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F57"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#parsel",
                  "label": [
                    {
                      "t": "text",
                      "text": "parsel"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F82"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F83"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F84"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#crawl4ai",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F108"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F114"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F115"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F116"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F117"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F118"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#scrapling",
                  "label": [
                    {
                      "t": "text",
                      "text": "Scrapling"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#crawlee-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F160"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#firecrawl",
                  "label": [
                    {
                      "t": "text",
                      "text": "firecrawl"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "beautifulsoup4",
          "name": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ],
          "links": [
            {
              "label": "Source",
              "href": "https://www.crummy.com/software/BeautifulSoup/bs4/"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/beautifulsoup4/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "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 "
            },
            {
              "t": "code",
              "text": "html.parser"
            },
            {
              "t": "text",
              "text": ", or "
            },
            {
              "t": "code",
              "text": "lxml"
            },
            {
              "t": "text",
              "text": " when it is installed. "
            },
            {
              "t": "code",
              "text": "find"
            },
            {
              "t": "text",
              "text": " returns the first tag that matches, and "
            },
            {
              "t": "code",
              "text": "find_all"
            },
            {
              "t": "text",
              "text": " 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F2"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F4"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F3"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.crummy.com/software/BeautifulSoup/bs4/doc/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F1"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F304"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F305"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F22"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F23"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F306"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F307"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/assafelovic/gpt-researcher",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F227"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "strips scripts, navigation, and footers from a scraped page with find_all() and decompose()."
                }
              ],
              "language": "python",
              "code": "def clean_soup(soup: BeautifulSoup) -> BeautifulSoup:\n    \"\"\"Clean the soup by removing unwanted tags\"\"\"\n    for tag in soup.find_all(\n        [\n            \"script\",\n            \"style\",\n            \"footer\",\n            \"header\",\n            \"nav\",\n            \"menu\",\n            \"sidebar\",\n            \"svg\",\n        ]\n    ):\n        tag.decompose()\n\n    disallowed_class_set = {\"nav\", \"menu\", \"sidebar\", \"footer\"}\n\n    # clean tags with certain classes\n    def does_tag_have_disallowed_class(elem) -> bool:\n        if not isinstance(elem, bs4.Tag):\n            return False\n\n        return any(\n            cls_name in disallowed_class_set for cls_name in elem.get(\"class\", [])\n        )\n\n    for tag in soup.find_all(does_tag_have_disallowed_class):\n        tag.decompose()\n\n    return soup",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/assafelovic/gpt-researcher/blob/da6356c24414f2ce89eb062b4749f5d339bd07a3/gpt_researcher/scraper/utils.py#L128-L158",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F230"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F1"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/CuriousLearner/GeeksForGeeksScrapper",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F232"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "collects article links from a category page with select(), then saves each article body."
                }
              ],
              "language": "python",
              "code": "def scrape_category(category_url):\n    try:\n        soup = BeautifulSoup(requests.get(BASE_URL + category_url).text)\n    except ConnectionError:\n        print(\"Couldn't connect to Internet! Please check your connection & Try again.\")\n        exit(1)\n\n    # Selecting links which are in the category page\n    links = [a.attrs.get(\"href\") for a in soup.select(\"article li a\")]\n    # ...\n    for link in links:\n        try:\n            # ...\n            link_soup = BeautifulSoup(requests.get(link).text)\n            # Remove the space occupied by Google Ads (Drop script & ins node)\n            [script.extract() for script in link_soup([\"script\", \"ins\"])]\n            for code_tag in link_soup.find_all(\"pre\"):\n                code_tag[\"class\"] = code_tag.get(\"class\", []) + [\"prettyprint\"]\n            article = link_soup.find(\"article\")\n            # Now add this article to list of all articles\n            page = Article(\n                title=link_soup.title.string, content=article.encode(\"UTF-8\")\n            )\n            articles.append(page)\n        # Sometimes hanging. So Ctrl ^ C, and try the next link.\n        # Find out the reason & improve this.\n        except KeyboardInterrupt:\n            continue\n        # ...",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/CuriousLearner/GeeksForGeeksScrapper/blob/1b683913d9eb3a1f60140920c33c46afc9c3de79/g4g.py#L95-L139",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F235"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F1"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from bs4 import BeautifulSoup\n\nwith open(\"index.html\") as fp:\n    soup = BeautifulSoup(fp, 'html.parser')\n\nsoup.title.string\n\nfor link in soup.find_all('a'):\n    print(link.get('href'))\n\nprint(soup.get_text())",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.crummy.com/software/BeautifulSoup/bs4/doc/",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "trafilatura",
          "name": [
            {
              "t": "text",
              "text": "trafilatura"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/adbar/trafilatura"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/trafilatura/"
            },
            {
              "label": "Docs",
              "href": "https://trafilatura.readthedocs.io"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "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. "
            },
            {
              "t": "code",
              "text": "fetch_url"
            },
            {
              "t": "text",
              "text": " downloads a page, and "
            },
            {
              "t": "code",
              "text": "extract"
            },
            {
              "t": "text",
              "text": " returns its text; with "
            },
            {
              "t": "code",
              "text": "with_metadata=True"
            },
            {
              "t": "text",
              "text": ", 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F26"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F27"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F29"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F28"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://trafilatura.readthedocs.io/en/latest/usage-python.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "trafilatura"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F48"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F49"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ranahaani/GNews",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "downloads a news article and extracts its full text with fetch_url() and extract()."
                }
              ],
              "language": "python",
              "code": "def get_full_article(self, url: str) -> dict:\n    try:\n        import trafilatura\n    except ImportError as e:\n        raise ImportError(\n            \"get_full_article() requires trafilatura. \"\n            \"Install it with: pip install gnews[fulltext]\"\n        ) from e\n\n    if self._proxy:\n        downloaded = self._download_via_proxy(url)\n    else:\n        downloaded = trafilatura.fetch_url(url)\n    if not downloaded:\n        raise NetworkError(f\"Could not download article from {url}\")\n\n    text = trafilatura.extract(downloaded, include_comments=False, include_tables=False)\n    if not text:\n        raise NetworkError(f\"Could not extract article text from {url}\")\n\n    return {\"text\": text, \"url\": url}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ranahaani/GNews/blob/19af49f2812c4870889faf1827d62b2aaa4d4661/gnews/gnews.py#L230-L250",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "trafilatura"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/tpai/summary-gpt-bot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F242"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "scrapes the readable text of a page with trafilatura and splits it into paragraphs."
                }
              ],
              "language": "python",
              "code": "def scrape_text_from_url(url):\n    \"\"\"\n    Scrape the content from the URL\n    \"\"\"\n    try:\n        downloaded = trafilatura.fetch_url(url)\n        text = trafilatura.extract(downloaded, include_formatting=True)\n        if text is None:\n            return []\n        text_chunks = text.split(\"\\n\")\n        article_content = [text for text in text_chunks if text]\n        return article_content\n    except Exception as e:\n        print(f\"Error: {e}\")",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/tpai/summary-gpt-bot/blob/f741136dcd61001f883db71d35b46eeaac669f46/main.py#L30-L43",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F245"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "trafilatura"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from trafilatura import fetch_url, extract\n\ndownloaded = fetch_url(\"https://github.blog/2019-03-29-leader-spotlight-erin-spiceland/\")\nprint(extract(downloaded))\nprint(extract(downloaded, output_format=\"json\", with_metadata=True))",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/adbar/trafilatura/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "scrapy",
          "name": [
            {
              "t": "text",
              "text": "scrapy"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/scrapy/scrapy"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/scrapy/"
            },
            {
              "label": "Docs",
              "href": "https://scrapy.org"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Scrapy is a crawling framework maintained by Zyte. Each spider class lists its start URLs and a "
            },
            {
              "t": "code",
              "text": "parse"
            },
            {
              "t": "text",
              "text": " 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 "
            },
            {
              "t": "code",
              "text": "parse"
            },
            {
              "t": "text",
              "text": " returns go back to a scheduler, which sends requests asynchronously, so a slow or failed page doesn't hold up the others. "
            },
            {
              "t": "code",
              "text": "scrapy runspider"
            },
            {
              "t": "text",
              "text": " runs a single spider file, and feed exports write the items as JSON Lines, CSV, or XML."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F51"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F52"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F54"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F53"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.scrapy.org/en/master/news.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "scrapy"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F73"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/wb14123/couplet-dataset",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F247"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "pulls a blog post's title and text with Scrapy CSS selectors and writes each couplet to a file."
                }
              ],
              "language": "python",
              "code": "def parse_couplets(self, response):\n    title = response.css('.articalTitle h2 ::text').extract_first()\n    lines = response.css('.articalContent::text, .articalContent *::text').extract()\n    output_file = open('output/' + title + '.txt', 'wb')\n    mid = u'〓'\n    end = u'◎'\n    for line in lines:\n        if (not mid in line) or (not end in line):\n            continue\n        line = line.replace(end, '').replace('|', '')\n        words = re.split(r\"[\\u200b\\s]+\", line, flags=re.UNICODE)\n        for word in words:\n            if len(word.strip()) == 0:\n                continue\n            couplet = word.split(mid)\n            if len(couplet) != 2:\n                logging.warning(\"Error while process \" + word)\n                continue\n            up, down = couplet\n            if (not up) or (not down) or len(up) != len(down):\n                logging.warning(\"Error while process \" + word)\n                continue\n            output_file.write((up + u'\\n').encode('utf8'))\n            output_file.write((down + u'\\n').encode('utf8'))\n    output_file.close()",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/wb14123/couplet-dataset/blob/4ea5d2e38b885a9bcc60df3c1f56b1a6d7b41fcc/sina_spider.py#L18-L42",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "scrapy"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F253"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/eliasdabbas/advertools",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F252"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "collects every image's attributes from a crawled page with XPath and resolves relative image URLs."
                }
              ],
              "language": "python",
              "code": "def _extract_images(response):\n    page_has_images = response.xpath(\"//img\")\n    if page_has_images:\n        img_df = pd.DataFrame([x.attrib for x in response.xpath(\"//img\")])\n        if \"src\" in img_df:\n            img_df[\"src\"] = [\n                response.urljoin(url) if isinstance(url, str) else url\n                for url in img_df[\"src\"]\n            ]\n        img_df = img_df.apply(lambda col: col.fillna(\"\").str.cat(sep=\"@@\")).to_frame().T\n        img_df = img_df[img_df.columns.intersection(_IMG_ATTRS)]\n        img_df = img_df.add_prefix(\"img_\")\n        d = img_df.to_dict(\"records\")[0]\n        return d\n    return {}",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/eliasdabbas/advertools/blob/24db4eb5875b6dae351d0b07631684ac12dd969e/advertools/spider.py#L524-L538",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "scrapy"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import scrapy\n\nclass QuotesSpider(scrapy.Spider):\n    name = \"quotes\"\n    start_urls = [\n        \"https://quotes.toscrape.com/tag/humor/\",\n    ]\n\n    def parse(self, response):\n        for quote in response.css(\"div.quote\"):\n            yield {\n                \"author\": quote.xpath(\"span/small/text()\").get(),\n                \"text\": quote.css(\"span.text::text\").get(),\n            }\n\n        next_page = response.css('li.next a::attr(\"href\")').get()\n        if next_page is not None:\n            yield response.follow(next_page, self.parse)\n\n# scrapy runspider quotes_spider.py -o quotes.jsonl",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://docs.scrapy.org/en/latest/intro/overview.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "parsel",
          "name": [
            {
              "t": "text",
              "text": "parsel"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/scrapy/parsel"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/parsel/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "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 "
            },
            {
              "t": "code",
              "text": "Selector"
            },
            {
              "t": "text",
              "text": " wraps the text, "
            },
            {
              "t": "code",
              "text": "css"
            },
            {
              "t": "text",
              "text": " or "
            },
            {
              "t": "code",
              "text": "xpath"
            },
            {
              "t": "text",
              "text": " narrows it, and "
            },
            {
              "t": "code",
              "text": "get"
            },
            {
              "t": "text",
              "text": " or "
            },
            {
              "t": "code",
              "text": "getall"
            },
            {
              "t": "text",
              "text": " returns the first match or every match. "
            },
            {
              "t": "code",
              "text": "re"
            },
            {
              "t": "text",
              "text": " runs a regular expression on any selection. Unlike "
            },
            {
              "t": "link",
              "href": "#scrapy",
              "label": [
                {
                  "t": "text",
                  "text": "Scrapy"
                }
              ]
            },
            {
              "t": "text",
              "text": ", Parsel doesn't download pages; it parses text that another tool fetched."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F77"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F78"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F80"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F79"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://parsel.readthedocs.io/en/latest/usage.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "parsel"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F94"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F95"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F98"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F99"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F100"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F101"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/scrapfly/scrapfly-scrapers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "parses a sitemap feed with a parsel Selector and returns each listing URL with its last-modified date."
                }
              ],
              "language": "python",
              "code": "async def scrape_feed(url) -> Dict[str, datetime]:\n    \"\"\"scrapes atom RSS feed and returns all entries in \"url:publish date\" format\"\"\"\n    result = await SCRAPFLY.async_scrape(ScrapeConfig(url, **BASE_CONFIG, retry=True))\n    body = result.content\n    # parse as XML and drop the sitemap namespace: parsel >= 1.12 detects XML from the <?xml declaration on its own\n    selector = Selector(text=body, type=\"xml\")\n    selector.remove_namespaces()\n    results = {}\n    for item in selector.xpath(\"//sitemap\"):\n        url = item.xpath(\"loc/text()\").get()\n        pub_date = item.xpath(\"lastmod/text()\").get()\n        results[url] = datetime.fromisoformat(pub_date)\n    return results",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/scrapfly/scrapfly-scrapers/blob/ed9dd1e813e5188a48b8523f9f278567e9806818/realtorcom-scraper/realtorcom.py#L276-L288",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F260"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "parsel"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from parsel import Selector\nsel = Selector(text='<div class=\"hero shout\"><time datetime=\"2014-07-23 19:00\">Special date</time></div>')\nsel.css('.shout').xpath('./time/@datetime').getall()",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/scrapy/parsel/blob/9516976cf8e1a28c195e42474f5c410a34d6bb06/docs/usage.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "the docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F88"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "crawl4ai",
          "name": [
            {
              "t": "fact",
              "fact": "F108"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/unclecode/crawl4ai"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/crawl4ai/"
            },
            {
              "label": "Docs",
              "href": "https://crawl4ai.com/?ref=github-about"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F108"
            },
            {
              "t": "text",
              "text": " 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. "
            },
            {
              "t": "code",
              "text": "AsyncWebCrawler"
            },
            {
              "t": "text",
              "text": " opens a crawler, and "
            },
            {
              "t": "code",
              "text": "arun"
            },
            {
              "t": "text",
              "text": " on a URL returns a result whose "
            },
            {
              "t": "code",
              "text": "markdown"
            },
            {
              "t": "text",
              "text": " field contains the page text. The open source crawler, under the Apache license, also powers a hosted API from the same team."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F110"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F112"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F111"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.crawl4ai.com/core/page-interaction/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F108"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Browser installed separately"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Playwright's Chromium is installed after the package, with the setup command or "
                },
                {
                  "t": "code",
                  "text": "python -m playwright install"
                },
                {
                  "t": "text",
                  "text": "."
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Barabama/FreeNodes",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F262"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "fetches a page with AsyncWebCrawler and returns its Markdown, HTML, and links."
                }
              ],
              "language": "python",
              "code": "async def fetch_page(url: str, timeout_ms: int = 60000) -> Page:\n    \"\"\"Fetch a page via Crawl4AI and return structured content.\"\"\"\n    try:\n        async with AsyncWebCrawler() as crawler:\n            result = await crawler.arun(\n                url=url,\n                config=CrawlerRunConfig(\n                    cache_mode=CacheMode.BYPASS,\n                    page_timeout=timeout_ms,\n                ),\n            )\n        if not result.success:\n            return Page(url=url, success=False, error=result.error_message, markdown=\"\", html=\"\", links=[])\n\n        md_obj = result.markdown\n        markdown_text = \"\"\n        if md_obj and hasattr(md_obj, \"raw_markdown\"):\n            markdown_text = md_obj.raw_markdown or \"\"\n\n        links: list[dict] = []\n        for scope in (\"internal\", \"external\"):\n            for link in (result.links or {}).get(scope, []):\n                href = link.get(\"href\", \"\")\n                if href and not href.startswith(\"javascript:\"):\n                    links.append({\"href\": href, \"text\": link.get(\"text\", \"\")[:200]})\n\n        return Page(url=url, markdown=markdown_text, html=result.html or \"\", links=links)\n\n    except Exception as e:\n        return Page(url=url, success=False, error=str(e), markdown=\"\", html=\"\", links=[])",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Barabama/FreeNodes/blob/4ef2fa249c7c31693a2103b16996eac68a691e6d/src/crawler.py#L17-L46",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F265"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F108"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F268"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/weidwonder/crawl4ai-mcp-server",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F267"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "crawls a page in a headless browser and returns it as Markdown with citations or filtered HTML."
                }
              ],
              "language": "python",
              "code": "async def read_url(url: str, format: str = \"markdown_with_citations\") -> str:\n    # ...\n    global crawler\n    if not crawler:\n        await initialize_crawler()\n\n    run_config = CrawlerRunConfig(\n        cache_mode=CacheMode.BYPASS,\n        word_count_threshold=10,\n        excluded_tags=[\"nav\", \"footer\", \"header\"],\n        markdown_generator=DefaultMarkdownGenerator(\n            options={\"citations\": True}\n        )\n    )\n\n    try:\n        result = await crawler.arun(url=url, config=run_config)\n\n        content = None\n        if format == \"raw_markdown\":\n            content = result.markdown_v2.raw_markdown\n        elif format == \"markdown_with_citations\":\n            content = result.markdown_v2.markdown_with_citations\n        elif format == \"references_markdown\":\n            content = result.markdown_v2.references_markdown\n        elif format == \"fit_markdown\":\n            content = result.markdown_v2.fit_markdown\n        elif format == \"fit_html\":\n            content = result.markdown_v2.fit_html\n        else:\n            content = result.markdown_v2.markdown_with_citations\n        # ...\n        return content\n    except Exception as e:\n        error_msg = f\"Error crawling URL: {str(e)}\"\n        print(error_msg)\n        return json.dumps({\"error\": error_msg}, ensure_ascii=False)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/weidwonder/crawl4ai-mcp-server/blob/cc0cc62811fa1de5dedc23db4199602a0cb34e10/src/index.py#L47-L114",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F270"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F108"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nfrom crawl4ai import AsyncWebCrawler\n\nasync def main():\n    async with AsyncWebCrawler() as crawler:\n        result = await crawler.arun(url=\"https://news.ycombinator.com\")\n        print(result.markdown)\n\nasyncio.run(main())",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/unclecode/crawl4ai/blob/cae74b203a33994f7e13b9052c3b0d5c93daa0e6/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F120"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "scrapling",
          "name": [
            {
              "t": "text",
              "text": "Scrapling"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/D4Vinci/Scrapling"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/scrapling/"
            },
            {
              "label": "Docs",
              "href": "https://scrapling.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Scrapling combines HTTP requests, stealth browsers that render JavaScript, parsing, and concurrent crawling in one Python library. "
            },
            {
              "t": "code",
              "text": "Fetcher.get"
            },
            {
              "t": "text",
              "text": " downloads a page, and "
            },
            {
              "t": "code",
              "text": "css"
            },
            {
              "t": "text",
              "text": " or "
            },
            {
              "t": "code",
              "text": "xpath"
            },
            {
              "t": "text",
              "text": " 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://scrapling.readthedocs.io/en/latest/fetching/stealthy.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "Scrapling"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F273"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/shirenchuang/web-content-fetcher",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F272"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "fetches a JavaScript-rendered or protected page in Scrapling's headless StealthyFetcher."
                }
              ],
              "language": "python",
              "code": "def fetch_stealth(url, max_chars=30000, timeout=30000):\n    \"\"\"\n    Headless browser fetch — executes JavaScript, bypasses anti-scraping.\n    Required for: WeChat articles, Zhihu, Juejin, and other JS-rendered pages.\n    Slower (~5-15s) but more reliable for protected content.\n    \"\"\"\n    from scrapling.fetchers import StealthyFetcher\n    _suppress_scrapling_logs()\n\n    page = StealthyFetcher().fetch(\n        url,\n        headless=True,\n        network_idle=True,\n        timeout=timeout,\n    )\n    return extract_content(page, url, max_chars)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/shirenchuang/web-content-fetcher/blob/f752656faccbee1625cbd698d7812e1700dd1be7/scripts/fetch.py#L147-L162",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F275"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F274"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "Scrapling"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F277"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/shirenchuang/web-content-fetcher",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F277"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "fetches a static page over plain HTTP with Scrapling's Fetcher and stealthy headers."
                }
              ],
              "language": "python",
              "code": "def fetch_fast(url, max_chars=30000, timeout=15):\n    \"\"\"\n    Fast HTTP fetch — no JavaScript execution.\n    Works for most blogs and static sites.\n    \"\"\"\n    from scrapling.fetchers import Fetcher\n    _suppress_scrapling_logs()\n\n    page = Fetcher().get(url, timeout=timeout, stealthy_headers=True)\n    return extract_content(page, url, max_chars)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/shirenchuang/web-content-fetcher/blob/f752656faccbee1625cbd698d7812e1700dd1be7/scripts/fetch.py#L135-L144",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F280"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "Scrapling"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from scrapling.fetchers import Fetcher\n\npage = Fetcher.get('https://quotes.toscrape.com/')\nquotes = page.css('.quote .text::text').getall()\nprint(quotes)",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/D4Vinci/Scrapling/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F145"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "crawlee-python",
          "name": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/apify/crawlee-python"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/crawlee/"
            },
            {
              "label": "Docs",
              "href": "https://crawlee.dev/python/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Crawlee, from Apify, crawls sites through a set of crawler classes that share routing, storage, and proxy rotation. "
            },
            {
              "t": "code",
              "text": "BeautifulSoupCrawler"
            },
            {
              "t": "text",
              "text": " downloads pages over HTTP and parses them with Beautiful Soup, while "
            },
            {
              "t": "code",
              "text": "PlaywrightCrawler"
            },
            {
              "t": "text",
              "text": " drives a headless browser for pages that build their content with JavaScript. Each run writes its results to a "
            },
            {
              "t": "code",
              "text": "storage"
            },
            {
              "t": "text",
              "text": " folder in the working directory. Optional extras keep the base install small, and a TypeScript version shares the same design."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://crawlee.dev/python/docs/guides/scrapy-migration",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F282"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F283"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/zeenie-ai/OpenCompany",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F282"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "crawls a site with Crawlee's BeautifulSoupCrawler and saves each page's title, text, and links."
                }
              ],
              "language": "python",
              "code": "async def _run_beautifulsoup(\n    url, pages, p, proxy_config, css_selector, extract_links, output_format, mode, max_pages, max_depth, max_concurrency, timeout_secs\n):\n    # ...\n\n    crawler = BeautifulSoupCrawler(\n        max_requests_per_crawl=max_pages,\n        max_crawl_depth=max_depth if mode == \"crawl\" else 0,\n        request_handler_timeout=timedelta(seconds=timeout_secs),\n        concurrency_settings=ConcurrencySettings(\n            max_concurrency=max_concurrency,\n            desired_concurrency=min(max_concurrency, 10),\n        ),\n        storage_client=MemoryStorageClient(),\n        proxy_configuration=proxy_config,\n        configure_logging=False,\n    )\n    # ...\n\n    @crawler.router.default_handler\n    async def handler(ctx: BeautifulSoupCrawlingContext) -> None:\n        title = ctx.soup.title.string if ctx.soup.title else \"\"\n        content = _extract_text(ctx.soup, css_selector, output_format)\n        page_data: Dict[str, Any] = {\n            \"url\": ctx.request.url,\n            \"title\": title,\n            \"content\": content,\n        }\n        if extract_links:\n            page_data[\"links\"] = _extract_links(ctx.soup, ctx.request.url)\n        pages.append(page_data)\n\n        if mode == \"crawl\":\n            # ...\n            await ctx.enqueue_links(**kwargs)\n\n    await asyncio.wait_for(crawler.run([url]), timeout=timeout_secs)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/zeenie-ai/OpenCompany/blob/0bed1d361e28903737578fac2e5c22af58963eb9/server/nodes/scraper/crawlee_scraper/__init__.py#L70-L114",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F285"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F284"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F287"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F288"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/CloakHQ/CloakBrowser",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F287"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "crawls pages with Crawlee's PlaywrightCrawler and saves each page's URL and title."
                }
              ],
              "language": "python",
              "code": "async def main() -> None:\n    crawler = PlaywrightCrawler(\n        max_requests_per_crawl=10,\n        browser_pool=BrowserPool(plugins=[CloakBrowserPlugin()]),\n    )\n\n    @crawler.router.default_handler\n    async def request_handler(context: PlaywrightCrawlingContext) -> None:\n        context.log.info(f'Processing {context.request.url} ...')\n        title = await context.page.title()\n        await context.push_data({'url': context.request.url, 'title': title})\n        await context.enqueue_links()\n\n    await crawler.run(['https://example.com'])",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/CloakHQ/CloakBrowser/blob/2ded0c1866e3d283d6654eb576686f21a98fadb6/examples/integrations/crawlee_example.py#L55-L68",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F290"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F289"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F160"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import asyncio\nfrom crawlee.crawlers import BeautifulSoupCrawler, BeautifulSoupCrawlingContext\n\nasync def main() -> None:\n    crawler = BeautifulSoupCrawler(\n        max_requests_per_crawl=10,\n    )\n    @crawler.router.default_handler\n    async def request_handler(context: BeautifulSoupCrawlingContext) -> None:\n        data = {\n            'title': context.soup.title.string if context.soup.title else None,\n        }\n        await context.push_data(data)\n    await crawler.run(['https://crawlee.dev'])\n\nif __name__ == '__main__':\n    asyncio.run(main())",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/apify/crawlee-python/blob/f25d47e92b9491c67697364d5d93f23efff74922/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F172"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "firecrawl",
          "name": [
            {
              "t": "text",
              "text": "firecrawl"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/firecrawl/firecrawl"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/firecrawl/"
            },
            {
              "label": "Docs",
              "href": "https://firecrawl.dev"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "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 "
            },
            {
              "t": "code",
              "text": "pip install firecrawl"
            },
            {
              "t": "text",
              "text": ", 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."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.firecrawl.dev/capabilities",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "text",
                      "text": "firecrawl"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Cloud-only features"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Structured JSON, screenshots, browser actions, and the Agent run only on Firecrawl Cloud."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "text",
                  "text": "Rust for the local build"
                }
              ],
              "body": [
                {
                  "t": "text",
                  "text": "Firecrawl Local installs from crates.io and needs Rust and a C compiler."
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F292"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F293"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/disler/single-file-agents",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F292"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "scrapes a page to Markdown with Firecrawl's scrape_url and saves it to a file."
                }
              ],
              "language": "python",
              "code": "def scrape_url(reasoning: str, url: str, output_file_path: str) -> str:\n    \"\"\"Scrapes content from a URL and saves it to a file.\"\"\"\n    log_function_call(\n        \"scrape_url\",\n        {\"reasoning\": reasoning, \"url\": url, \"output_file_path\": output_file_path},\n    )\n\n    try:\n        response = firecrawl_app.scrape_url(\n            url=url,\n            params={\n                \"formats\": [\"markdown\"],\n            },\n        )\n\n        if response.get(\"markdown\"):\n            content = response[\"markdown\"]\n            with open(output_file_path, \"w\") as f:\n                f.write(content)\n            log_function_result(\n                \"scrape_url\", f\"Successfully scraped {len(content)} characters\"\n            )\n            return content\n        else:\n            error = response.get(\"error\", \"Unknown error\")\n            log_error(f\"Error scraping URL: {error}\")\n            return \"\"\n    except Exception as e:\n        log_error(f\"Error scraping URL: {str(e)}\")\n        return \"\"",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/disler/single-file-agents/blob/78563f85152a95da020d0f50c3d3273f70d18cd0/sfa_scrapper_agent_openai_v2.py#L230-L259",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F295"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F294"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "firecrawl"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F297"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F298"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/Ztrimus/ResumeFlow",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F297"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                },
                {
                  "t": "text",
                  "text": "scrapes a job posting to clean Markdown with FirecrawlApp, returning nothing on failure."
                }
              ],
              "language": "python",
              "code": "def _scrape_firecrawl(url: str) -> str | None:\n    \"\"\"Scrape *url* with Firecrawl and return clean markdown, or None on failure.\"\"\"\n    api_key = os.environ.get(\"FIRECRAWL_API_KEY\", \"\").strip()\n    if not api_key:\n        logger.debug(\"FIRECRAWL_API_KEY not set — skipping Firecrawl\")\n        return None\n    if not _firecrawl_available:\n        logger.debug(\"firecrawl-py not installed — skipping Firecrawl\")\n        return None\n\n    try:\n        app = _FirecrawlApp(api_key=api_key)\n        result = app.scrape_url(url, params={\"formats\": [\"markdown\"]})\n        markdown = result.get(\"markdown\", \"\").strip()\n        if markdown:\n            logger.info(\"Firecrawl: successfully scraped %s (%d chars)\", url, len(markdown))\n            return markdown\n        logger.warning(\"Firecrawl: empty markdown for %s\", url)\n        return None\n    except Exception as exc:\n        logger.warning(\"Firecrawl failed for %s: %s\", url, exc)\n        return None",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/Ztrimus/ResumeFlow/blob/de36dde0cd06a08592f7ea7e2c6bccb28f40fca3/zlm/utils/scraper.py#L35-L56",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F300"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " · pushed "
                },
                {
                  "t": "fact",
                  "fact": "F299"
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "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",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "text",
                      "text": "firecrawl"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from firecrawl import Firecrawl\n\napp = Firecrawl(api_key=\"fc-YOUR_API_KEY\")\n\nresult = app.scrape('firecrawl.dev')",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/firecrawl/firecrawl/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "the README"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F200"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "What is the best Python web scraping library?",
      "a": [
        {
          "t": "text",
          "text": "It depends on the job. "
        },
        {
          "t": "link",
          "href": "#scrapy",
          "label": [
            {
              "t": "text",
              "text": "Scrapy"
            }
          ]
        },
        {
          "t": "text",
          "text": " crawls large sites, "
        },
        {
          "t": "link",
          "href": "#crawl4ai",
          "label": [
            {
              "t": "fact",
              "fact": "F108"
            }
          ]
        },
        {
          "t": "text",
          "text": " reads pages that load content with JavaScript, and "
        },
        {
          "t": "link",
          "href": "#beautifulsoup4",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " parses HTML and has "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": " downloads a month."
        }
      ]
    },
    {
      "q": "Which Python scraping libraries handle JavaScript pages?",
      "a": [
        {
          "t": "link",
          "href": "#crawl4ai",
          "label": [
            {
              "t": "fact",
              "fact": "F108"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#scrapling",
          "label": [
            {
              "t": "text",
              "text": "Scrapling"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#crawlee-python",
          "label": [
            {
              "t": "text",
              "text": "crawlee-python"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#firecrawl",
          "label": [
            {
              "t": "text",
              "text": "firecrawl"
            }
          ]
        },
        {
          "t": "text",
          "text": " render JavaScript pages with built-in browser support. "
        },
        {
          "t": "link",
          "href": "#scrapy",
          "label": [
            {
              "t": "text",
              "text": "scrapy"
            }
          ]
        },
        {
          "t": "text",
          "text": " needs a plugin, and "
        },
        {
          "t": "link",
          "href": "#beautifulsoup4",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#parsel",
          "label": [
            {
              "t": "text",
              "text": "parsel"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#trafilatura",
          "label": [
            {
              "t": "text",
              "text": "trafilatura"
            }
          ]
        },
        {
          "t": "text",
          "text": " read static HTML only. See "
        },
        {
          "t": "link",
          "href": "#capabilities",
          "label": [
            {
              "t": "text",
              "text": "the feature table"
            }
          ]
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "Scrapy vs Beautiful Soup: which is better?",
      "a": [
        {
          "t": "link",
          "href": "#scrapy",
          "label": [
            {
              "t": "text",
              "text": "scrapy"
            }
          ]
        },
        {
          "t": "text",
          "text": " is better for crawling whole sites: it schedules requests, follows links, and exports items to JSON or CSV. "
        },
        {
          "t": "link",
          "href": "#beautifulsoup4",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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."
        }
      ]
    },
    {
      "q": "crawl4ai vs Firecrawl: which is better?",
      "a": [
        {
          "t": "link",
          "href": "#crawl4ai",
          "label": [
            {
              "t": "fact",
              "fact": "F108"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a free "
        },
        {
          "t": "fact",
          "fact": "F111"
        },
        {
          "t": "text",
          "text": " library that runs a headless browser on the user's own machines. "
        },
        {
          "t": "link",
          "href": "#firecrawl",
          "label": [
            {
              "t": "text",
              "text": "firecrawl"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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."
        }
      ]
    },
    {
      "q": "What is an open-source alternative to Firecrawl?",
      "a": [
        {
          "t": "link",
          "href": "#crawl4ai",
          "label": [
            {
              "t": "fact",
              "fact": "F108"
            }
          ]
        },
        {
          "t": "text",
          "text": " 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. "
        },
        {
          "t": "link",
          "href": "#scrapling",
          "label": [
            {
              "t": "text",
              "text": "Scrapling"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#crawlee-python",
          "label": [
            {
              "t": "text",
              "text": "crawlee-python"
            }
          ]
        },
        {
          "t": "text",
          "text": " also render JavaScript pages."
        }
      ]
    },
    {
      "q": "What is Beautiful Soup?",
      "a": [
        {
          "t": "link",
          "href": "#beautifulsoup4",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " parses an HTML or XML page into a tree that find(), find_all(), and CSS selectors can search. It has "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": " downloads a month, more than any other Python scraping library."
        }
      ]
    },
    {
      "q": "What is Firecrawl?",
      "a": [
        {
          "t": "link",
          "href": "#firecrawl",
          "label": [
            {
              "t": "text",
              "text": "firecrawl"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a hosted API, with a self-hostable server, that scrapes, crawls, and maps sites. It returns LLM-ready Markdown or structured JSON."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Name, beautifulsoup4",
      "display": "beautifulsoup4",
      "asOf": "2026-11-10"
    },
    "F2": {
      "label": "Monthly downloads, beautifulsoup4",
      "display": "289.6M",
      "asOf": "2026-11-10"
    },
    "F3": {
      "label": "License, beautifulsoup4",
      "display": "MIT",
      "asOf": "2026-11-10"
    },
    "F4": {
      "label": "Latest release, beautifulsoup4",
      "display": "4.15.0, Jun 2026",
      "asOf": "2026-06-07"
    },
    "F5": {
      "label": "Latest release date, beautifulsoup4",
      "display": "Jun 2026",
      "asOf": "2026-06-07"
    },
    "F6": {
      "label": "Renders JavaScript pages, beautifulsoup4",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F7": {
      "label": "Crawls and follows links, beautifulsoup4",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F8": {
      "label": "Sends async requests, beautifulsoup4",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F9": {
      "label": "Selects with XPath, beautifulsoup4",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F10": {
      "label": "Output formats, beautifulsoup4",
      "display": "Text",
      "asOf": "2026-11-10"
    },
    "F11": {
      "label": "Recommended for, beautifulsoup4",
      "display": "beautiful soup data source",
      "asOf": "2026-11-10"
    },
    "F12": {
      "label": "Install, beautifulsoup4",
      "display": "pip install beautifulsoup4",
      "asOf": "2026-11-10"
    },
    "F13": {
      "label": "What it is, beautifulsoup4",
      "display": "Beautiful Soup parses an HTML or XML page into a tree you can search with find(), find_all(), and CSS selectors to pull out the data you need.",
      "asOf": "2026-11-10"
    },
    "F14": {
      "label": "Strength lead, beautifulsoup4",
      "display": "Quick to learn",
      "asOf": "2026-11-10"
    },
    "F15": {
      "label": "Strength, beautifulsoup4",
      "display": "A handful of methods cover navigating, searching, and changing the parse tree.",
      "asOf": "2026-11-10"
    },
    "F16": {
      "label": "Strength lead, beautifulsoup4",
      "display": "Handles broken HTML",
      "asOf": "2026-11-10"
    },
    "F17": {
      "label": "Strength, beautifulsoup4",
      "display": "Reads pages with missing or mismatched tags.",
      "asOf": "2026-11-10"
    },
    "F18": {
      "label": "Strength lead, beautifulsoup4",
      "display": "Error tolerance",
      "asOf": "2026-11-10"
    },
    "F19": {
      "label": "Strength, beautifulsoup4",
      "display": "The library is designed to avoid errors in many common messy HTML cases, at the cost of speed and memory.",
      "asOf": "2026-11-10"
    },
    "F20": {
      "label": "Caution lead, beautifulsoup4",
      "display": "Default parser misreads broken pages",
      "asOf": "2026-11-10"
    },
    "F21": {
      "label": "Caution, beautifulsoup4",
      "display": "Install lxml, a faster parser, and use it for messy HTML.",
      "asOf": "2026-11-10"
    },
    "F22": {
      "label": "Caution lead, beautifulsoup4",
      "display": "CSS selectors only",
      "asOf": "2026-11-10"
    },
    "F23": {
      "label": "Caution, beautifulsoup4",
      "display": "For XPath, a way to pick page elements by path, use parsel.",
      "asOf": "2026-11-10"
    },
    "F24": {
      "label": "Caution lead, beautifulsoup4",
      "display": "Rendering or anti-bot capabilities",
      "asOf": "2026-11-10"
    },
    "F25": {
      "label": "Caution, beautifulsoup4",
      "display": "It does not handle JavaScript-rendered content, bot-detection evasion, or large-scale concurrent crawls.",
      "asOf": "2026-11-10"
    },
    "F26": {
      "label": "Monthly downloads, trafilatura",
      "display": "12.9M",
      "asOf": "2026-11-10"
    },
    "F27": {
      "label": "GitHub stars, adbar/trafilatura",
      "display": "7.1K",
      "asOf": "2026-11-10"
    },
    "F28": {
      "label": "License, adbar/trafilatura",
      "display": "Apache-2.0",
      "asOf": "2026-11-10"
    },
    "F29": {
      "label": "Latest release, trafilatura",
      "display": "2.3.1, Oct 2026",
      "asOf": "2026-10-06"
    },
    "F30": {
      "label": "Latest release date, trafilatura",
      "display": "Oct 2026",
      "asOf": "2026-10-06"
    },
    "F31": {
      "label": "Renders JavaScript pages, trafilatura",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F32": {
      "label": "Crawls and follows links, trafilatura",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F33": {
      "label": "Selects with XPath, trafilatura",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F34": {
      "label": "Output formats, trafilatura",
      "display": "Markdown, JSON",
      "asOf": "2026-11-10"
    },
    "F35": {
      "label": "Recommended for, trafilatura",
      "display": "extract content from articles",
      "asOf": "2026-11-10"
    },
    "F36": {
      "label": "Install, trafilatura",
      "display": "pip install trafilatura",
      "asOf": "2026-11-10"
    },
    "F37": {
      "label": "What it is, trafilatura",
      "display": "trafilatura downloads a web page and pulls out its main text and metadata, leaving headers, footers, and boilerplate behind.",
      "asOf": "2026-11-10"
    },
    "F38": {
      "label": "Strength lead, trafilatura",
      "display": "Pulls the article text",
      "asOf": "2026-11-10"
    },
    "F39": {
      "label": "Strength, trafilatura",
      "display": "Returns the main text with title, author, and date, minus menus and footers.",
      "asOf": "2026-11-10"
    },
    "F40": {
      "label": "Strength lead, trafilatura",
      "display": "Exports Markdown, JSON, or XML",
      "asOf": "2026-11-10"
    },
    "F41": {
      "label": "Strength, trafilatura",
      "display": "Also writes plain text.",
      "asOf": "2026-11-10"
    },
    "F42": {
      "label": "Strength lead, trafilatura",
      "display": "Focus on content",
      "asOf": "2026-11-10"
    },
    "F43": {
      "label": "Strength, trafilatura",
      "display": "The extractor focuses on the actual content and aims to avoid noise from headers, footers, and boilerplate, balancing precision and recall.",
      "asOf": "2026-11-10"
    },
    "F44": {
      "label": "Caution lead, trafilatura",
      "display": "Skips JavaScript-loaded text",
      "asOf": "2026-11-10"
    },
    "F45": {
      "label": "Caution, trafilatura",
      "display": "Reads static HTML only, so text added by scripts is missed.",
      "asOf": "2026-11-10"
    },
    "F46": {
      "label": "Caution lead, trafilatura",
      "display": "Rule-based limits",
      "asOf": "2026-11-10"
    },
    "F47": {
      "label": "Caution, trafilatura",
      "display": "May be less adaptable than ML approaches for highly varied layouts, though fallbacks help.",
      "asOf": "2026-11-10"
    },
    "F48": {
      "label": "Caution lead, trafilatura",
      "display": "Can miss text on unusual layouts",
      "asOf": "2026-11-10"
    },
    "F49": {
      "label": "Caution, trafilatura",
      "display": "Short or link-heavy pages can come back incomplete.",
      "asOf": "2026-11-10"
    },
    "F50": {
      "label": "Quickstart, trafilatura",
      "display": "# load the necessary components\nfrom lxml import etree\nfrom trafilatura.xml import validate_tei\n\n# open a file and parse it\nmytree = etree.parse('document-name.xml')\n\n# validate it\nvalidate_tei(mytree)\n# returns True or False",
      "asOf": "2026-11-10"
    },
    "F51": {
      "label": "Monthly downloads, scrapy",
      "display": "4.3M",
      "asOf": "2026-11-10"
    },
    "F52": {
      "label": "GitHub stars, scrapy/scrapy",
      "display": "65.3K",
      "asOf": "2026-11-10"
    },
    "F53": {
      "label": "License, scrapy/scrapy",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F54": {
      "label": "Latest release, scrapy",
      "display": "2.20.0, Nov 2026",
      "asOf": "2026-11-06"
    },
    "F55": {
      "label": "Latest release date, scrapy",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F56": {
      "label": "Renders JavaScript pages, scrapy",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F57": {
      "label": "Crawls and follows links, scrapy",
      "display": "Via plugin",
      "asOf": "2026-11-10"
    },
    "F58": {
      "label": "Sends async requests, scrapy",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F59": {
      "label": "Selects with XPath, scrapy",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F60": {
      "label": "Output formats, scrapy",
      "display": "JSON, CSV, XML",
      "asOf": "2026-11-10"
    },
    "F61": {
      "label": "Recommended for, scrapy",
      "display": "large site crawls",
      "asOf": "2026-11-10"
    },
    "F62": {
      "label": "Install, scrapy",
      "display": "pip install scrapy",
      "asOf": "2026-11-10"
    },
    "F63": {
      "label": "What it is, scrapy",
      "display": "Scrapy crawls whole sites: it schedules requests, follows links, extracts items with CSS or XPath selectors, and exports them to JSON or CSV.",
      "asOf": "2026-11-10"
    },
    "F64": {
      "label": "Strength lead, scrapy",
      "display": "Concurrent requests",
      "asOf": "2026-11-10"
    },
    "F65": {
      "label": "Strength, scrapy",
      "display": "Sends many requests at once across mostly static sites.",
      "asOf": "2026-11-10"
    },
    "F66": {
      "label": "Strength lead, scrapy",
      "display": "Built-in cleanup and export",
      "asOf": "2026-11-10"
    },
    "F67": {
      "label": "Strength, scrapy",
      "display": "Pipelines check each record, and exporters write JSON or CSV.",
      "asOf": "2026-11-10"
    },
    "F68": {
      "label": "Strength lead, scrapy",
      "display": "Framework focus",
      "asOf": "2026-11-10"
    },
    "F69": {
      "label": "Strength, scrapy",
      "display": "scrapy is a Python application framework for crawling sites and extracting structured data, built around an Engine, not a single-file script.",
      "asOf": "2026-11-10"
    },
    "F70": {
      "label": "Caution lead, scrapy",
      "display": "No JavaScript by default",
      "asOf": "2026-11-10"
    },
    "F71": {
      "label": "Caution, scrapy",
      "display": "Add the scrapy-playwright plugin for pages that need a browser.",
      "asOf": "2026-11-10"
    },
    "F72": {
      "label": "Caution lead, scrapy",
      "display": "More setup than a script",
      "asOf": "2026-11-10"
    },
    "F73": {
      "label": "Caution, scrapy",
      "display": "Each crawl starts as a project folder with spider classes.",
      "asOf": "2026-11-10"
    },
    "F74": {
      "label": "Caution lead, scrapy",
      "display": "Learning curve",
      "asOf": "2026-11-10"
    },
    "F75": {
      "label": "Caution, scrapy",
      "display": "Steeper learning curve than simpler scraping tools.",
      "asOf": "2026-11-10"
    },
    "F76": {
      "label": "Quickstart, scrapy",
      "display": "from scrapy.shell import inspect_response\n\n\ndef parse_details(self, response, item=None):\n    if item:\n        # populate more `item` fields\n        return item\n    else:\n        inspect_response(response, self)",
      "asOf": "2026-11-10"
    },
    "F77": {
      "label": "Monthly downloads, parsel",
      "display": "3.2M",
      "asOf": "2026-11-10"
    },
    "F78": {
      "label": "GitHub stars, scrapy/parsel",
      "display": "1.4K",
      "asOf": "2026-11-10"
    },
    "F79": {
      "label": "License, scrapy/parsel",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F80": {
      "label": "Latest release, parsel",
      "display": "1.12.1, Sep 2026",
      "asOf": "2026-09-28"
    },
    "F81": {
      "label": "Latest release date, parsel",
      "display": "Sep 2026",
      "asOf": "2026-09-28"
    },
    "F82": {
      "label": "Renders JavaScript pages, parsel",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F83": {
      "label": "Crawls and follows links, parsel",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F84": {
      "label": "Sends async requests, parsel",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F85": {
      "label": "Selects with XPath, parsel",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F86": {
      "label": "Output formats, parsel",
      "display": "Text",
      "asOf": "2026-11-10"
    },
    "F87": {
      "label": "Recommended for, parsel",
      "display": "scrapy, clean API",
      "asOf": "2026-11-10"
    },
    "F88": {
      "label": "Install, parsel",
      "display": "pip install parsel",
      "asOf": "2026-11-10"
    },
    "F89": {
      "label": "What it is, parsel",
      "display": "parsel extracts data from HTML and XML with CSS selectors and XPath, and from JSON with JMESPath or JSONPath.",
      "asOf": "2026-11-10"
    },
    "F90": {
      "label": "Strength lead, parsel",
      "display": "Focused parsing layer",
      "asOf": "2026-11-10"
    },
    "F91": {
      "label": "Strength, parsel",
      "display": "parsel provides a parsing layer that exposes a selector API for CSS selectors and XPath, enabling clean extraction without a full scraping framework.",
      "asOf": "2026-11-10"
    },
    "F92": {
      "label": "Strength lead, parsel",
      "display": "CSS, XPath, and JSON queries",
      "asOf": "2026-11-10"
    },
    "F93": {
      "label": "Strength, parsel",
      "display": "One Selector runs CSS or XPath on HTML, and JSON queries on JSON.",
      "asOf": "2026-11-10"
    },
    "F94": {
      "label": "Strength lead, parsel",
      "display": "Built on lxml",
      "asOf": "2026-11-10"
    },
    "F95": {
      "label": "Strength, parsel",
      "display": "Selectors run on lxml, a parser written in C.",
      "asOf": "2026-11-10"
    },
    "F96": {
      "label": "Caution lead, parsel",
      "display": "Context of usage",
      "asOf": "2026-11-10"
    },
    "F97": {
      "label": "Caution, parsel",
      "display": "parsel is a wrapper around lxml focused on HTML parsing, which may require understanding of lxml behavior and patterns.",
      "asOf": "2026-11-10"
    },
    "F98": {
      "label": "Caution lead, parsel",
      "display": "Doesn't download pages",
      "asOf": "2026-11-10"
    },
    "F99": {
      "label": "Caution, parsel",
      "display": "Fetch the HTML with another tool first.",
      "asOf": "2026-11-10"
    },
    "F100": {
      "label": "Caution lead, parsel",
      "display": "Can't run JavaScript",
      "asOf": "2026-11-10"
    },
    "F101": {
      "label": "Caution, parsel",
      "display": "Render the page with Playwright, a browser automation tool, then parse it.",
      "asOf": "2026-11-10"
    },
    "F102": {
      "label": "Quickstart, parsel",
      "display": "from parsel import Selector\nsel = Selector(text='<div class=\"hero shout\"><time datetime=\"2014-07-23 19:00\">Special date</time></div>')\nsel.css('.shout').xpath('./time/@datetime').getall()",
      "asOf": "2026-11-10"
    },
    "F103": {
      "label": "Code, scrapfly/scrapfly-scrapers",
      "display": "async def scrape_feed(url) -> Dict[str, datetime]:\n    \"\"\"scrapes atom RSS feed and returns all entries in \"url:publish date\" format\"\"\"\n    result = await SCRAPFLY.async_scrape(ScrapeConfig(url, **BASE_CONFIG, retry=True))\n    body = result.content\n    # parse as XML and drop the sitemap namespace: parsel >= 1.12 detects XML from the <?xml declaration on its own\n    selector = Selector(text=body, type=\"xml\")\n    selector.remove_namespaces()\n    results = {}\n    for item in selector.xpath(\"//sitemap\"):\n        url = item.xpath(\"loc/text()\").get()\n        pub_date = item.xpath(\"lastmod/text()\").get()\n        results[url] = datetime.fromisoformat(pub_date)\n    return results",
      "asOf": "2026-11-10"
    },
    "F104": {
      "label": "Repository, scrapfly/scrapfly-scrapers",
      "display": "scrapfly/scrapfly-scrapers",
      "asOf": "2026-11-10"
    },
    "F105": {
      "label": "GitHub stars, scrapfly/scrapfly-scrapers",
      "display": "1.1K",
      "asOf": "2026-11-10"
    },
    "F106": {
      "label": "Last push, scrapfly/scrapfly-scrapers",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F107": {
      "label": "File, scrapfly/scrapfly-scrapers",
      "display": "realtorcom.py · scrape_feed()",
      "asOf": "2026-11-10"
    },
    "F108": {
      "label": "Name, unclecode/crawl4ai",
      "display": "crawl4ai",
      "asOf": "2026-11-10"
    },
    "F109": {
      "label": "Monthly downloads, crawl4ai",
      "display": "1.3M",
      "asOf": "2026-11-10"
    },
    "F110": {
      "label": "GitHub stars, unclecode/crawl4ai",
      "display": "87.1K",
      "asOf": "2026-11-10"
    },
    "F111": {
      "label": "License, unclecode/crawl4ai",
      "display": "Apache-2.0",
      "asOf": "2026-11-10"
    },
    "F112": {
      "label": "Latest release, crawl4ai",
      "display": "0.9.5, Oct 2026",
      "asOf": "2026-10-14"
    },
    "F113": {
      "label": "Latest release date, crawl4ai",
      "display": "Oct 2026",
      "asOf": "2026-10-14"
    },
    "F114": {
      "label": "Renders JavaScript pages, crawl4ai",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F115": {
      "label": "Crawls and follows links, crawl4ai",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F116": {
      "label": "Sends async requests, crawl4ai",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F117": {
      "label": "Selects with XPath, crawl4ai",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F118": {
      "label": "Output formats, crawl4ai",
      "display": "Markdown, JSON",
      "asOf": "2026-11-10"
    },
    "F119": {
      "label": "Recommended for, crawl4ai",
      "display": "extract content for LLM-ready bulk scraping",
      "asOf": "2026-11-10"
    },
    "F120": {
      "label": "Install, crawl4ai",
      "display": "pip install crawl4ai",
      "asOf": "2026-11-10"
    },
    "F121": {
      "label": "What it is, crawl4ai",
      "display": "crawl4ai loads pages in a headless browser and turns them into clean Markdown or JSON for LLM and RAG pipelines.",
      "asOf": "2026-11-10"
    },
    "F122": {
      "label": "Strength lead, crawl4ai",
      "display": "Offers multiple endpoints",
      "asOf": "2026-11-10"
    },
    "F123": {
      "label": "Strength, crawl4ai",
      "display": "Provides /scrape, /extract, /search, /serp, and /answer endpoints for different data extraction and search needs.",
      "asOf": "2026-11-10"
    },
    "F124": {
      "label": "Strength lead, crawl4ai",
      "display": "Turns pages into Markdown",
      "asOf": "2026-11-10"
    },
    "F125": {
      "label": "Strength, crawl4ai",
      "display": "Renders each page in a browser, then converts it to Markdown for an LLM.",
      "asOf": "2026-11-10"
    },
    "F126": {
      "label": "Strength lead, crawl4ai",
      "display": "No per-page cost",
      "asOf": "2026-11-10"
    },
    "F127": {
      "label": "Strength, crawl4ai",
      "display": "Free to run at any volume when self-hosted.",
      "asOf": "2026-11-10"
    },
    "F128": {
      "label": "Caution lead, crawl4ai",
      "display": "Self-hosted scope",
      "asOf": "2026-11-10"
    },
    "F129": {
      "label": "Caution, crawl4ai",
      "display": "Requires user to host and manage infrastructure; no gate or token is provided by default.",
      "asOf": "2026-11-10"
    },
    "F130": {
      "label": "Caution lead, crawl4ai",
      "display": "No vendor support",
      "asOf": "2026-11-10"
    },
    "F131": {
      "label": "Caution, crawl4ai",
      "display": "No SLA or support desk when a crawl breaks.",
      "asOf": "2026-11-10"
    },
    "F132": {
      "label": "Caution lead, crawl4ai",
      "display": "A browser per crawl",
      "asOf": "2026-11-10"
    },
    "F133": {
      "label": "Caution, crawl4ai",
      "display": "Each crawl drives a headless browser, which takes more memory than an HTTP fetch. For many URLs, arun_many runs a memory-adaptive dispatcher.",
      "asOf": "2026-11-10"
    },
    "F134": {
      "label": "Monthly downloads, scrapling",
      "display": "919.9K",
      "asOf": "2026-11-10"
    },
    "F135": {
      "label": "GitHub stars, D4Vinci/Scrapling",
      "display": "99.8K",
      "asOf": "2026-11-10"
    },
    "F136": {
      "label": "License, D4Vinci/Scrapling",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-10"
    },
    "F137": {
      "label": "Latest release, scrapling",
      "display": "0.5.1, Nov 2026",
      "asOf": "2026-11-04"
    },
    "F138": {
      "label": "Latest release date, scrapling",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F139": {
      "label": "Renders JavaScript pages, scrapling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F140": {
      "label": "Crawls and follows links, scrapling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F141": {
      "label": "Sends async requests, scrapling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F142": {
      "label": "Selects with XPath, scrapling",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F143": {
      "label": "Output formats, scrapling",
      "display": "Markdown, JSON",
      "asOf": "2026-11-10"
    },
    "F144": {
      "label": "Recommended for, scrapling",
      "display": "extract selectors that survive redesigns",
      "asOf": "2026-11-10"
    },
    "F145": {
      "label": "Install, scrapling",
      "display": "pip install scrapling",
      "asOf": "2026-11-10"
    },
    "F146": {
      "label": "What it is, scrapling",
      "display": "Scrapling fetches pages over HTTP or in a stealth browser, parses them with selectors that survive markup changes, and runs concurrent crawls with export to JSON or CSV.",
      "asOf": "2026-11-10"
    },
    "F147": {
      "label": "Strength lead, scrapling",
      "display": "Selectors survive site changes",
      "asOf": "2026-11-10"
    },
    "F148": {
      "label": "Strength, scrapling",
      "display": "With adaptive=True, a selector that stops matching finds its element again.",
      "asOf": "2026-11-10"
    },
    "F149": {
      "label": "Strength lead, scrapling",
      "display": "Crawls and exports built in",
      "asOf": "2026-11-10"
    },
    "F150": {
      "label": "Strength, scrapling",
      "display": "Runs concurrent crawls with retries and exports JSON, CSV, or XML.",
      "asOf": "2026-11-10"
    },
    "F151": {
      "label": "Strength lead, scrapling",
      "display": "Gets past bot checks",
      "asOf": "2026-11-10"
    },
    "F152": {
      "label": "Strength, scrapling",
      "display": "Anti-bot evasion is built in, so blocked pages need no extra tool.",
      "asOf": "2026-11-10"
    },
    "F153": {
      "label": "Caution lead, scrapling",
      "display": "One machine per crawl",
      "asOf": "2026-11-10"
    },
    "F154": {
      "label": "Caution, scrapling",
      "display": "Splitting a crawl across machines needs another tool.",
      "asOf": "2026-11-10"
    },
    "F155": {
      "label": "Caution lead, scrapling",
      "display": "API still changes",
      "asOf": "2026-11-10"
    },
    "F156": {
      "label": "Caution, scrapling",
      "display": "Still a 0.x release, so pin the version and read release notes before upgrading.",
      "asOf": "2026-11-10"
    },
    "F157": {
      "label": "Caution lead, scrapling",
      "display": "One main maintainer",
      "asOf": "2026-11-10"
    },
    "F158": {
      "label": "Caution, scrapling",
      "display": "Most commits come from a single author.",
      "asOf": "2026-11-10"
    },
    "F159": {
      "label": "Quickstart, scrapling",
      "display": "from scrapling.fetchers import Fetcher\n\npage = Fetcher.get('https://quotes.toscrape.com/')\nquotes = page.css('.quote .text::text').getall()\nprint(quotes)",
      "asOf": "2026-11-10"
    },
    "F160": {
      "label": "Name, apify/crawlee-python",
      "display": "crawlee-python",
      "asOf": "2026-11-10"
    },
    "F161": {
      "label": "Monthly downloads, crawlee",
      "display": "818.7K",
      "asOf": "2026-11-10"
    },
    "F162": {
      "label": "GitHub stars, apify/crawlee-python",
      "display": "9.7K",
      "asOf": "2026-11-10"
    },
    "F163": {
      "label": "License, apify/crawlee-python",
      "display": "Apache-2.0",
      "asOf": "2026-11-10"
    },
    "F164": {
      "label": "Latest release, crawlee",
      "display": "1.11.1, Nov 2026",
      "asOf": "2026-11-05"
    },
    "F165": {
      "label": "Latest release date, crawlee",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F166": {
      "label": "Renders JavaScript pages, crawlee",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F167": {
      "label": "Crawls and follows links, crawlee",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F168": {
      "label": "Sends async requests, crawlee",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F169": {
      "label": "Selects with XPath, crawlee",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F170": {
      "label": "Output formats, crawlee",
      "display": "JSON, CSV",
      "asOf": "2026-11-10"
    },
    "F171": {
      "label": "Recommended for, crawlee",
      "display": "node.js production builds",
      "asOf": "2026-11-10"
    },
    "F172": {
      "label": "Install, crawlee",
      "display": "pip install crawlee",
      "asOf": "2026-11-10"
    },
    "F173": {
      "label": "What it is, crawlee",
      "display": "Crawlee crawls sites over plain HTTP or in a headless browser through one interface, with proxy rotation, parallel requests, and storage for results.",
      "asOf": "2026-11-10"
    },
    "F174": {
      "label": "Strength lead, crawlee",
      "display": "One API for HTTP and browsers",
      "asOf": "2026-11-10"
    },
    "F175": {
      "label": "Strength, crawlee",
      "display": "The same crawler code works over plain HTTP or in a full browser.",
      "asOf": "2026-11-10"
    },
    "F176": {
      "label": "Strength lead, crawlee",
      "display": "Parallel by default",
      "asOf": "2026-11-10"
    },
    "F177": {
      "label": "Strength, crawlee",
      "display": "Runs as many requests at once as the machine's CPU and memory allow.",
      "asOf": "2026-11-10"
    },
    "F178": {
      "label": "Strength lead, crawlee",
      "display": "Type hints",
      "asOf": "2026-11-10"
    },
    "F179": {
      "label": "Strength, crawlee",
      "display": "Written in Python with type hints to enhance DX and static checking.",
      "asOf": "2026-11-10"
    },
    "F180": {
      "label": "Caution lead, crawlee",
      "display": "Browser crawls are slower",
      "asOf": "2026-11-10"
    },
    "F181": {
      "label": "Caution, crawlee",
      "display": "Use BeautifulSoupCrawler for pages that need no JavaScript.",
      "asOf": "2026-11-10"
    },
    "F182": {
      "label": "Caution lead, crawlee",
      "display": "Platform requirements",
      "asOf": "2026-11-10"
    },
    "F183": {
      "label": "Caution, crawlee",
      "display": "Specific system dependencies or environment setup may be required, as with many Python scraping tools.",
      "asOf": "2026-11-10"
    },
    "F184": {
      "label": "Code, zeenie-ai/OpenCompany",
      "display": "async def _run_beautifulsoup(\n    url, pages, p, proxy_config, css_selector, extract_links, output_format, mode, max_pages, max_depth, max_concurrency, timeout_secs\n):\n    # ...\n    crawler = BeautifulSoupCrawler(\n        max_requests_per_crawl=max_pages,\n        max_crawl_depth=max_depth if mode == \"crawl\" else 0,\n        request_handler_timeout=timedelta(seconds=timeout_secs),\n        concurrency_settings=ConcurrencySettings(\n            max_concurrency=max_concurrency,\n            desired_concurrency=min(max_concurrency, 10),\n        ),\n        storage_client=MemoryStorageClient(),\n        proxy_configuration=proxy_config,\n        configure_logging=False,\n    )\n    # ...\n    await asyncio.wait_for(crawler.run([url]), timeout=timeout_secs)",
      "asOf": "2026-11-10"
    },
    "F185": {
      "label": "Repository, zeenie-ai/OpenCompany",
      "display": "zeenie-ai/OpenCompany",
      "asOf": "2026-11-10"
    },
    "F186": {
      "label": "GitHub stars, zeenie-ai/OpenCompany",
      "display": "1.1K",
      "asOf": "2026-11-10"
    },
    "F187": {
      "label": "Last push, zeenie-ai/OpenCompany",
      "display": "Nov 2026",
      "asOf": "2026-11-05"
    },
    "F188": {
      "label": "File, zeenie-ai/OpenCompany",
      "display": "__init__.py · _run_beautifulsoup()",
      "asOf": "2026-11-10"
    },
    "F189": {
      "label": "Monthly downloads, firecrawl",
      "display": "702.0K",
      "asOf": "2026-11-10"
    },
    "F190": {
      "label": "GitHub stars, firecrawl/firecrawl",
      "display": "199.8K",
      "asOf": "2026-11-10"
    },
    "F191": {
      "label": "License, firecrawl/firecrawl",
      "display": "AGPL-3.0",
      "asOf": "2026-11-10"
    },
    "F192": {
      "label": "Latest release, firecrawl",
      "display": "4.55.0, Nov 2026",
      "asOf": "2026-11-04"
    },
    "F193": {
      "label": "Latest release date, firecrawl",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F194": {
      "label": "Renders JavaScript pages, firecrawl",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F195": {
      "label": "Crawls and follows links, firecrawl",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F196": {
      "label": "Sends async requests, firecrawl",
      "display": "Built-in",
      "asOf": "2026-11-10"
    },
    "F197": {
      "label": "Selects with XPath, firecrawl",
      "display": "Unsupported",
      "asOf": "2026-11-10"
    },
    "F198": {
      "label": "Output formats, firecrawl",
      "display": "Markdown, JSON",
      "asOf": "2026-11-10"
    },
    "F199": {
      "label": "Recommended for, firecrawl",
      "display": "concurrent requests",
      "asOf": "2026-11-10"
    },
    "F200": {
      "label": "Install, firecrawl",
      "display": "pip install firecrawl",
      "asOf": "2026-11-10"
    },
    "F201": {
      "label": "What it is, firecrawl",
      "display": "Firecrawl is a hosted API, with a self-hostable server, that scrapes, crawls, and maps sites and returns LLM-ready Markdown or structured JSON.",
      "asOf": "2026-11-10"
    },
    "F202": {
      "label": "Strength lead, firecrawl",
      "display": "Returns LLM-ready Markdown",
      "asOf": "2026-11-10"
    },
    "F203": {
      "label": "Strength, firecrawl",
      "display": "Output keeps headings and links and needs no extra cleanup.",
      "asOf": "2026-11-10"
    },
    "F204": {
      "label": "Strength lead, firecrawl",
      "display": "Supports multiple formats",
      "asOf": "2026-11-10"
    },
    "F205": {
      "label": "Strength, firecrawl",
      "display": "Delivers content in formats such as markdown, HTML, screenshots, or structured JSON depending on need.",
      "asOf": "2026-11-10"
    },
    "F206": {
      "label": "Strength lead, firecrawl",
      "display": "Pure python wheel",
      "asOf": "2026-11-10"
    },
    "F207": {
      "label": "Strength, firecrawl",
      "display": "Pure-Python wheel with low install friction and standard async/HTTP dependencies.",
      "asOf": "2026-11-10"
    },
    "F208": {
      "label": "Caution lead, firecrawl",
      "display": "Hard to self-host",
      "asOf": "2026-11-10"
    },
    "F209": {
      "label": "Caution, firecrawl",
      "display": "A self-hosted server takes more setup than installing a library.",
      "asOf": "2026-11-10"
    },
    "F210": {
      "label": "Caution lead, firecrawl",
      "display": "No login or form flows",
      "asOf": "2026-11-10"
    },
    "F211": {
      "label": "Caution, firecrawl",
      "display": "Use Playwright for logins, form fills, and multi-step pages.",
      "asOf": "2026-11-10"
    },
    "F212": {
      "label": "Caution lead, firecrawl",
      "display": "Paid hosted API",
      "asOf": "2026-11-10"
    },
    "F213": {
      "label": "Caution, firecrawl",
      "display": "The cloud API charges per use and has rate limits.",
      "asOf": "2026-11-10"
    },
    "F214": {
      "label": "Quickstart, firecrawl",
      "display": "from firecrawl import Firecrawl\n\napp = Firecrawl(api_key=\"fc-YOUR_API_KEY\")\n\nresult = app.scrape('firecrawl.dev')",
      "asOf": "2026-11-10"
    },
    "F215": {
      "label": "Need, scrapy",
      "display": "Large site crawls",
      "asOf": "2026-11-10"
    },
    "F216": {
      "label": "Why, scrapy",
      "display": "framework for crawling",
      "asOf": "2026-11-10"
    },
    "F217": {
      "label": "Need, trafilatura",
      "display": "Large site crawls",
      "asOf": "2026-11-10"
    },
    "F218": {
      "label": "Need, crawl4ai",
      "display": "JavaScript-heavy sites",
      "asOf": "2026-11-10"
    },
    "F219": {
      "label": "Why, crawl4ai",
      "display": "JavaScript page handling",
      "asOf": "2026-11-10"
    },
    "F220": {
      "label": "Need, crawlee",
      "display": "JavaScript-heavy sites",
      "asOf": "2026-11-10"
    },
    "F221": {
      "label": "Why, crawlee",
      "display": "wrapper around Playwright",
      "asOf": "2026-11-10"
    },
    "F222": {
      "label": "Need, trafilatura",
      "display": "Markdown for LLMs",
      "asOf": "2026-11-10"
    },
    "F223": {
      "label": "Need, scrapling",
      "display": "Concurrent requests",
      "asOf": "2026-11-10"
    },
    "F224": {
      "label": "Caution lead, beautifulsoup4",
      "display": "Slow on large pages",
      "asOf": "2026-11-10"
    },
    "F225": {
      "label": "Caution, beautifulsoup4",
      "display": "Parses about an order of magnitude slower than lxml-based parsers.",
      "asOf": "2026-11-10"
    },
    "F226": {
      "label": "Code, assafelovic/gpt-researcher",
      "display": "def clean_soup(soup: BeautifulSoup) -> BeautifulSoup:\n    \"\"\"Clean the soup by removing unwanted tags\"\"\"\n    for tag in soup.find_all(\n        [\n            \"script\",\n            \"style\",\n            \"footer\",\n            \"header\",\n            \"nav\",\n            \"menu\",\n            \"sidebar\",\n            \"svg\",\n        ]\n    ):\n        tag.decompose()\n\n    disallowed_class_set = {\"nav\", \"menu\", \"sidebar\", \"footer\"}\n\n    # clean tags with certain classes\n    def does_tag_have_disallowed_class(elem) -> bool:\n        if not isinstance(elem, bs4.Tag):\n            return False\n\n        return any(\n            cls_name in disallowed_class_set for cls_name in elem.get(\"class\", [])\n        )\n\n    for tag in soup.find_all(does_tag_have_disallowed_class):\n        tag.decompose()\n\n    return soup",
      "asOf": "2026-11-10"
    },
    "F227": {
      "label": "Repository, assafelovic/gpt-researcher",
      "display": "assafelovic/gpt-researcher",
      "asOf": "2026-11-10"
    },
    "F228": {
      "label": "GitHub stars, assafelovic/gpt-researcher",
      "display": "30.6K",
      "asOf": "2026-11-10"
    },
    "F229": {
      "label": "Last push, assafelovic/gpt-researcher",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F230": {
      "label": "File, assafelovic/gpt-researcher",
      "display": "utils.py · clean_soup()",
      "asOf": "2026-11-10"
    },
    "F231": {
      "label": "Code, CuriousLearner/GeeksForGeeksScrapper",
      "display": "def scrape_category(category_url):\n    try:\n        soup = BeautifulSoup(requests.get(BASE_URL + category_url).text)\n    except ConnectionError:\n        print(\"Couldn't connect to Internet! Please check your connection & Try again.\")\n        exit(1)\n\n    # Selecting links which are in the category page\n    links = [a.attrs.get(\"href\") for a in soup.select(\"article li a\")]\n    # ...\n    for link in links:\n        try:\n            # ...\n            link_soup = BeautifulSoup(requests.get(link).text)\n            # Remove the space occupied by Google Ads (Drop script & ins node)\n            [script.extract() for script in link_soup([\"script\", \"ins\"])]\n            for code_tag in link_soup.find_all(\"pre\"):\n                code_tag[\"class\"] = code_tag.get(\"class\", []) + [\"prettyprint\"]\n            article = link_soup.find(\"article\")\n            # Now add this article to list of all articles\n            page = Article(\n                title=link_soup.title.string, content=article.encode(\"UTF-8\")\n            )\n            articles.append(page)\n        # Sometimes hanging. So Ctrl ^ C, and try the next link.\n        # Find out the reason & improve this.\n        except KeyboardInterrupt:\n            continue\n        # ...",
      "asOf": "2026-11-10"
    },
    "F232": {
      "label": "Repository, CuriousLearner/GeeksForGeeksScrapper",
      "display": "CuriousLearner/GeeksForGeeksScrapper",
      "asOf": "2026-11-10"
    },
    "F233": {
      "label": "GitHub stars, CuriousLearner/GeeksForGeeksScrapper",
      "display": "147",
      "asOf": "2026-11-10"
    },
    "F234": {
      "label": "Last push, CuriousLearner/GeeksForGeeksScrapper",
      "display": "May 2020",
      "asOf": "2020-05-15"
    },
    "F235": {
      "label": "File, CuriousLearner/GeeksForGeeksScrapper",
      "display": "g4g.py · scrape_category()",
      "asOf": "2026-11-10"
    },
    "F236": {
      "label": "Code, ranahaani/GNews",
      "display": "def get_full_article(self, url: str) -> dict:\n    try:\n        import trafilatura\n    except ImportError as e:\n        raise ImportError(\n            \"get_full_article() requires trafilatura. \"\n            \"Install it with: pip install gnews[fulltext]\"\n        ) from e\n\n    if self._proxy:\n        downloaded = self._download_via_proxy(url)\n    else:\n        downloaded = trafilatura.fetch_url(url)\n    if not downloaded:\n        raise NetworkError(f\"Could not download article from {url}\")\n\n    text = trafilatura.extract(downloaded, include_comments=False, include_tables=False)\n    if not text:\n        raise NetworkError(f\"Could not extract article text from {url}\")\n\n    return {\"text\": text, \"url\": url}",
      "asOf": "2026-11-10"
    },
    "F237": {
      "label": "Repository, ranahaani/GNews",
      "display": "ranahaani/GNews",
      "asOf": "2026-11-10"
    },
    "F238": {
      "label": "GitHub stars, ranahaani/GNews",
      "display": "1.0K",
      "asOf": "2026-11-10"
    },
    "F239": {
      "label": "Last push, ranahaani/GNews",
      "display": "Oct 2026",
      "asOf": "2026-10-24"
    },
    "F240": {
      "label": "File, ranahaani/GNews",
      "display": "gnews.py · get_full_article()",
      "asOf": "2026-11-10"
    },
    "F241": {
      "label": "Code, tpai/summary-gpt-bot",
      "display": "def scrape_text_from_url(url):\n    \"\"\"\n    Scrape the content from the URL\n    \"\"\"\n    try:\n        downloaded = trafilatura.fetch_url(url)\n        text = trafilatura.extract(downloaded, include_formatting=True)\n        if text is None:\n            return []\n        text_chunks = text.split(\"\\n\")\n        article_content = [text for text in text_chunks if text]\n        return article_content\n    except Exception as e:\n        print(f\"Error: {e}\")",
      "asOf": "2026-11-10"
    },
    "F242": {
      "label": "Repository, tpai/summary-gpt-bot",
      "display": "tpai/summary-gpt-bot",
      "asOf": "2026-11-10"
    },
    "F243": {
      "label": "GitHub stars, tpai/summary-gpt-bot",
      "display": "234",
      "asOf": "2026-11-10"
    },
    "F244": {
      "label": "Last push, tpai/summary-gpt-bot",
      "display": "Sep 2025",
      "asOf": "2025-09-18"
    },
    "F245": {
      "label": "File, tpai/summary-gpt-bot",
      "display": "main.py · scrape_text_from_url()",
      "asOf": "2026-11-10"
    },
    "F246": {
      "label": "Code, wb14123/couplet-dataset",
      "display": "def parse_couplets(self, response):\n    title = response.css('.articalTitle h2 ::text').extract_first()\n    lines = response.css('.articalContent::text, .articalContent *::text').extract()\n    output_file = open('output/' + title + '.txt', 'wb')\n    mid = u'〓'\n    end = u'◎'\n    for line in lines:\n        if (not mid in line) or (not end in line):\n            continue\n        line = line.replace(end, '').replace('|', '')\n        words = re.split(r\"[\\u200b\\s]+\", line, flags=re.UNICODE)\n        for word in words:\n            if len(word.strip()) == 0:\n                continue\n            couplet = word.split(mid)\n            if len(couplet) != 2:\n                logging.warning(\"Error while process \" + word)\n                continue\n            up, down = couplet\n            if (not up) or (not down) or len(up) != len(down):\n                logging.warning(\"Error while process \" + word)\n                continue\n            output_file.write((up + u'\\n').encode('utf8'))\n            output_file.write((down + u'\\n').encode('utf8'))\n    output_file.close()",
      "asOf": "2026-11-10"
    },
    "F247": {
      "label": "Repository, wb14123/couplet-dataset",
      "display": "wb14123/couplet-dataset",
      "asOf": "2026-11-10"
    },
    "F248": {
      "label": "GitHub stars, wb14123/couplet-dataset",
      "display": "745",
      "asOf": "2026-11-10"
    },
    "F249": {
      "label": "Last push, wb14123/couplet-dataset",
      "display": "Feb 2025",
      "asOf": "2025-02-05"
    },
    "F250": {
      "label": "File, wb14123/couplet-dataset",
      "display": "sina_spider.py · parse_couplets()",
      "asOf": "2026-11-10"
    },
    "F251": {
      "label": "Code, eliasdabbas/advertools",
      "display": "def _extract_images(response):\n    page_has_images = response.xpath(\"//img\")\n    if page_has_images:\n        img_df = pd.DataFrame([x.attrib for x in response.xpath(\"//img\")])\n        if \"src\" in img_df:\n            img_df[\"src\"] = [\n                response.urljoin(url) if isinstance(url, str) else url\n                for url in img_df[\"src\"]\n            ]\n        img_df = img_df.apply(lambda col: col.fillna(\"\").str.cat(sep=\"@@\")).to_frame().T\n        img_df = img_df[img_df.columns.intersection(_IMG_ATTRS)]\n        img_df = img_df.add_prefix(\"img_\")\n        d = img_df.to_dict(\"records\")[0]\n        return d\n    return {}",
      "asOf": "2026-11-10"
    },
    "F252": {
      "label": "Repository, eliasdabbas/advertools",
      "display": "eliasdabbas/advertools",
      "asOf": "2026-11-10"
    },
    "F253": {
      "label": "GitHub stars, eliasdabbas/advertools",
      "display": "1.5K",
      "asOf": "2026-11-10"
    },
    "F254": {
      "label": "Last push, eliasdabbas/advertools",
      "display": "Jun 2026",
      "asOf": "2026-06-30"
    },
    "F255": {
      "label": "File, eliasdabbas/advertools",
      "display": "spider.py · _extract_images()",
      "asOf": "2026-11-10"
    },
    "F256": {
      "label": "Code, scrapfly/scrapfly-scrapers",
      "display": "async def scrape_feed(url) -> Dict[str, datetime]:\n    \"\"\"scrapes atom RSS feed and returns all entries in \"url:publish date\" format\"\"\"\n    result = await SCRAPFLY.async_scrape(ScrapeConfig(url, **BASE_CONFIG, retry=True))\n    body = result.content\n    # parse as XML and drop the sitemap namespace: parsel >= 1.12 detects XML from the <?xml declaration on its own\n    selector = Selector(text=body, type=\"xml\")\n    selector.remove_namespaces()\n    results = {}\n    for item in selector.xpath(\"//sitemap\"):\n        url = item.xpath(\"loc/text()\").get()\n        pub_date = item.xpath(\"lastmod/text()\").get()\n        results[url] = datetime.fromisoformat(pub_date)\n    return results",
      "asOf": "2026-11-10"
    },
    "F257": {
      "label": "Repository, scrapfly/scrapfly-scrapers",
      "display": "scrapfly/scrapfly-scrapers",
      "asOf": "2026-11-10"
    },
    "F258": {
      "label": "GitHub stars, scrapfly/scrapfly-scrapers",
      "display": "1.1K",
      "asOf": "2026-11-10"
    },
    "F259": {
      "label": "Last push, scrapfly/scrapfly-scrapers",
      "display": "Nov 2026",
      "asOf": "2026-11-08"
    },
    "F260": {
      "label": "File, scrapfly/scrapfly-scrapers",
      "display": "realtorcom.py · scrape_feed()",
      "asOf": "2026-11-10"
    },
    "F261": {
      "label": "Code, Barabama/FreeNodes",
      "display": "async def fetch_page(url: str, timeout_ms: int = 60000) -> Page:\n    \"\"\"Fetch a page via Crawl4AI and return structured content.\"\"\"\n    try:\n        async with AsyncWebCrawler() as crawler:\n            result = await crawler.arun(\n                url=url,\n                config=CrawlerRunConfig(\n                    cache_mode=CacheMode.BYPASS,\n                    page_timeout=timeout_ms,\n                ),\n            )\n        if not result.success:\n            return Page(url=url, success=False, error=result.error_message, markdown=\"\", html=\"\", links=[])\n\n        md_obj = result.markdown\n        markdown_text = \"\"\n        if md_obj and hasattr(md_obj, \"raw_markdown\"):\n            markdown_text = md_obj.raw_markdown or \"\"\n\n        links: list[dict] = []\n        for scope in (\"internal\", \"external\"):\n            for link in (result.links or {}).get(scope, []):\n                href = link.get(\"href\", \"\")\n                if href and not href.startswith(\"javascript:\"):\n                    links.append({\"href\": href, \"text\": link.get(\"text\", \"\")[:200]})\n\n        return Page(url=url, markdown=markdown_text, html=result.html or \"\", links=links)\n\n    except Exception as e:\n        return Page(url=url, success=False, error=str(e), markdown=\"\", html=\"\", links=[])",
      "asOf": "2026-11-10"
    },
    "F262": {
      "label": "Repository, Barabama/FreeNodes",
      "display": "Barabama/FreeNodes",
      "asOf": "2026-11-10"
    },
    "F263": {
      "label": "GitHub stars, Barabama/FreeNodes",
      "display": "3.4K",
      "asOf": "2026-11-10"
    },
    "F264": {
      "label": "Last push, Barabama/FreeNodes",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F265": {
      "label": "File, Barabama/FreeNodes",
      "display": "crawler.py · fetch_page()",
      "asOf": "2026-11-10"
    },
    "F266": {
      "label": "Code, weidwonder/crawl4ai-mcp-server",
      "display": "async def read_url(url: str, format: str = \"markdown_with_citations\") -> str:\n    # ...\n    global crawler\n    if not crawler:\n        await initialize_crawler()\n\n    run_config = CrawlerRunConfig(\n        cache_mode=CacheMode.BYPASS,\n        word_count_threshold=10,\n        excluded_tags=[\"nav\", \"footer\", \"header\"],\n        markdown_generator=DefaultMarkdownGenerator(\n            options={\"citations\": True}\n        )\n    )\n\n    try:\n        result = await crawler.arun(url=url, config=run_config)\n\n        content = None\n        if format == \"raw_markdown\":\n            content = result.markdown_v2.raw_markdown\n        elif format == \"markdown_with_citations\":\n            content = result.markdown_v2.markdown_with_citations\n        elif format == \"references_markdown\":\n            content = result.markdown_v2.references_markdown\n        elif format == \"fit_markdown\":\n            content = result.markdown_v2.fit_markdown\n        elif format == \"fit_html\":\n            content = result.markdown_v2.fit_html\n        else:\n            content = result.markdown_v2.markdown_with_citations\n        # ...\n        return content\n    except Exception as e:\n        error_msg = f\"Error crawling URL: {str(e)}\"\n        print(error_msg)\n        return json.dumps({\"error\": error_msg}, ensure_ascii=False)",
      "asOf": "2026-11-10"
    },
    "F267": {
      "label": "Repository, weidwonder/crawl4ai-mcp-server",
      "display": "weidwonder/crawl4ai-mcp-server",
      "asOf": "2026-11-10"
    },
    "F268": {
      "label": "GitHub stars, weidwonder/crawl4ai-mcp-server",
      "display": "155",
      "asOf": "2026-11-10"
    },
    "F269": {
      "label": "Last push, weidwonder/crawl4ai-mcp-server",
      "display": "Jan 2026",
      "asOf": "2026-01-23"
    },
    "F270": {
      "label": "File, weidwonder/crawl4ai-mcp-server",
      "display": "index.py · read_url()",
      "asOf": "2026-11-10"
    },
    "F271": {
      "label": "Code, shirenchuang/web-content-fetcher",
      "display": "def fetch_stealth(url, max_chars=30000, timeout=30000):\n    \"\"\"\n    Headless browser fetch — executes JavaScript, bypasses anti-scraping.\n    Required for: WeChat articles, Zhihu, Juejin, and other JS-rendered pages.\n    Slower (~5-15s) but more reliable for protected content.\n    \"\"\"\n    from scrapling.fetchers import StealthyFetcher\n    _suppress_scrapling_logs()\n\n    page = StealthyFetcher().fetch(\n        url,\n        headless=True,\n        network_idle=True,\n        timeout=timeout,\n    )\n    return extract_content(page, url, max_chars)",
      "asOf": "2026-11-10"
    },
    "F272": {
      "label": "Repository, shirenchuang/web-content-fetcher",
      "display": "shirenchuang/web-content-fetcher",
      "asOf": "2026-11-10"
    },
    "F273": {
      "label": "GitHub stars, shirenchuang/web-content-fetcher",
      "display": "613",
      "asOf": "2026-11-10"
    },
    "F274": {
      "label": "Last push, shirenchuang/web-content-fetcher",
      "display": "Mar 2026",
      "asOf": "2026-03-28"
    },
    "F275": {
      "label": "File, shirenchuang/web-content-fetcher",
      "display": "fetch.py · fetch_stealth()",
      "asOf": "2026-11-10"
    },
    "F276": {
      "label": "Code, shirenchuang/web-content-fetcher",
      "display": "def fetch_fast(url, max_chars=30000, timeout=15):\n    \"\"\"\n    Fast HTTP fetch — no JavaScript execution.\n    Works for most blogs and static sites.\n    \"\"\"\n    from scrapling.fetchers import Fetcher\n    _suppress_scrapling_logs()\n\n    page = Fetcher().get(url, timeout=timeout, stealthy_headers=True)\n    return extract_content(page, url, max_chars)",
      "asOf": "2026-11-10"
    },
    "F277": {
      "label": "Repository, shirenchuang/web-content-fetcher",
      "display": "shirenchuang/web-content-fetcher",
      "asOf": "2026-11-10"
    },
    "F278": {
      "label": "GitHub stars, shirenchuang/web-content-fetcher",
      "display": "613",
      "asOf": "2026-11-10"
    },
    "F279": {
      "label": "Last push, shirenchuang/web-content-fetcher",
      "display": "Mar 2026",
      "asOf": "2026-03-28"
    },
    "F280": {
      "label": "File, shirenchuang/web-content-fetcher",
      "display": "fetch.py · fetch_fast()",
      "asOf": "2026-11-10"
    },
    "F281": {
      "label": "Code, zeenie-ai/OpenCompany",
      "display": "async def _run_beautifulsoup(\n    url, pages, p, proxy_config, css_selector, extract_links, output_format, mode, max_pages, max_depth, max_concurrency, timeout_secs\n):\n    # ...\n\n    crawler = BeautifulSoupCrawler(\n        max_requests_per_crawl=max_pages,\n        max_crawl_depth=max_depth if mode == \"crawl\" else 0,\n        request_handler_timeout=timedelta(seconds=timeout_secs),\n        concurrency_settings=ConcurrencySettings(\n            max_concurrency=max_concurrency,\n            desired_concurrency=min(max_concurrency, 10),\n        ),\n        storage_client=MemoryStorageClient(),\n        proxy_configuration=proxy_config,\n        configure_logging=False,\n    )\n    # ...\n\n    @crawler.router.default_handler\n    async def handler(ctx: BeautifulSoupCrawlingContext) -> None:\n        title = ctx.soup.title.string if ctx.soup.title else \"\"\n        content = _extract_text(ctx.soup, css_selector, output_format)\n        page_data: Dict[str, Any] = {\n            \"url\": ctx.request.url,\n            \"title\": title,\n            \"content\": content,\n        }\n        if extract_links:\n            page_data[\"links\"] = _extract_links(ctx.soup, ctx.request.url)\n        pages.append(page_data)\n\n        if mode == \"crawl\":\n            # ...\n            await ctx.enqueue_links(**kwargs)\n\n    await asyncio.wait_for(crawler.run([url]), timeout=timeout_secs)",
      "asOf": "2026-11-10"
    },
    "F282": {
      "label": "Repository, zeenie-ai/OpenCompany",
      "display": "zeenie-ai/OpenCompany",
      "asOf": "2026-11-10"
    },
    "F283": {
      "label": "GitHub stars, zeenie-ai/OpenCompany",
      "display": "1.1K",
      "asOf": "2026-11-10"
    },
    "F284": {
      "label": "Last push, zeenie-ai/OpenCompany",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F285": {
      "label": "File, zeenie-ai/OpenCompany",
      "display": "__init__.py · _run_beautifulsoup()",
      "asOf": "2026-11-10"
    },
    "F286": {
      "label": "Code, CloakHQ/CloakBrowser",
      "display": "async def main() -> None:\n    crawler = PlaywrightCrawler(\n        max_requests_per_crawl=10,\n        browser_pool=BrowserPool(plugins=[CloakBrowserPlugin()]),\n    )\n\n    @crawler.router.default_handler\n    async def request_handler(context: PlaywrightCrawlingContext) -> None:\n        context.log.info(f'Processing {context.request.url} ...')\n        title = await context.page.title()\n        await context.push_data({'url': context.request.url, 'title': title})\n        await context.enqueue_links()\n\n    await crawler.run(['https://example.com'])",
      "asOf": "2026-11-10"
    },
    "F287": {
      "label": "Repository, CloakHQ/CloakBrowser",
      "display": "CloakHQ/CloakBrowser",
      "asOf": "2026-11-10"
    },
    "F288": {
      "label": "GitHub stars, CloakHQ/CloakBrowser",
      "display": "32.8K",
      "asOf": "2026-11-10"
    },
    "F289": {
      "label": "Last push, CloakHQ/CloakBrowser",
      "display": "Nov 2026",
      "asOf": "2026-11-07"
    },
    "F290": {
      "label": "File, CloakHQ/CloakBrowser",
      "display": "crawlee_example.py · main()",
      "asOf": "2026-11-10"
    },
    "F291": {
      "label": "Code, disler/single-file-agents",
      "display": "def scrape_url(reasoning: str, url: str, output_file_path: str) -> str:\n    \"\"\"Scrapes content from a URL and saves it to a file.\"\"\"\n    log_function_call(\n        \"scrape_url\",\n        {\"reasoning\": reasoning, \"url\": url, \"output_file_path\": output_file_path},\n    )\n\n    try:\n        response = firecrawl_app.scrape_url(\n            url=url,\n            params={\n                \"formats\": [\"markdown\"],\n            },\n        )\n\n        if response.get(\"markdown\"):\n            content = response[\"markdown\"]\n            with open(output_file_path, \"w\") as f:\n                f.write(content)\n            log_function_result(\n                \"scrape_url\", f\"Successfully scraped {len(content)} characters\"\n            )\n            return content\n        else:\n            error = response.get(\"error\", \"Unknown error\")\n            log_error(f\"Error scraping URL: {error}\")\n            return \"\"\n    except Exception as e:\n        log_error(f\"Error scraping URL: {str(e)}\")\n        return \"\"",
      "asOf": "2026-11-10"
    },
    "F292": {
      "label": "Repository, disler/single-file-agents",
      "display": "disler/single-file-agents",
      "asOf": "2026-11-10"
    },
    "F293": {
      "label": "GitHub stars, disler/single-file-agents",
      "display": "437",
      "asOf": "2026-11-10"
    },
    "F294": {
      "label": "Last push, disler/single-file-agents",
      "display": "Apr 2025",
      "asOf": "2025-04-08"
    },
    "F295": {
      "label": "File, disler/single-file-agents",
      "display": "sfa_scrapper_agent_openai_v2.py · scrape_url()",
      "asOf": "2026-11-10"
    },
    "F296": {
      "label": "Code, Ztrimus/ResumeFlow",
      "display": "def _scrape_firecrawl(url: str) -> str | None:\n    \"\"\"Scrape *url* with Firecrawl and return clean markdown, or None on failure.\"\"\"\n    api_key = os.environ.get(\"FIRECRAWL_API_KEY\", \"\").strip()\n    if not api_key:\n        logger.debug(\"FIRECRAWL_API_KEY not set — skipping Firecrawl\")\n        return None\n    if not _firecrawl_available:\n        logger.debug(\"firecrawl-py not installed — skipping Firecrawl\")\n        return None\n\n    try:\n        app = _FirecrawlApp(api_key=api_key)\n        result = app.scrape_url(url, params={\"formats\": [\"markdown\"]})\n        markdown = result.get(\"markdown\", \"\").strip()\n        if markdown:\n            logger.info(\"Firecrawl: successfully scraped %s (%d chars)\", url, len(markdown))\n            return markdown\n        logger.warning(\"Firecrawl: empty markdown for %s\", url)\n        return None\n    except Exception as exc:\n        logger.warning(\"Firecrawl failed for %s: %s\", url, exc)\n        return None",
      "asOf": "2026-11-10"
    },
    "F297": {
      "label": "Repository, Ztrimus/ResumeFlow",
      "display": "Ztrimus/ResumeFlow",
      "asOf": "2026-11-10"
    },
    "F298": {
      "label": "GitHub stars, Ztrimus/ResumeFlow",
      "display": "230",
      "asOf": "2026-11-10"
    },
    "F299": {
      "label": "Last push, Ztrimus/ResumeFlow",
      "display": "Jun 2026",
      "asOf": "2026-06-05"
    },
    "F300": {
      "label": "File, Ztrimus/ResumeFlow",
      "display": "scraper.py · _scrape_firecrawl()",
      "asOf": "2026-11-10"
    },
    "F301": {
      "label": "Quickstart, beautifulsoup4",
      "display": "from bs4 import BeautifulSoup\n\nwith open(\"index.html\") as fp:\n    soup = BeautifulSoup(fp, 'html.parser')\n\nsoup.title.string\n\nfor link in soup.find_all('a'):\n    print(link.get('href'))\n\nprint(soup.get_text())",
      "asOf": "2026-11-10"
    },
    "F302": {
      "label": "Quickstart, crawl4ai",
      "display": "import asyncio\nfrom crawl4ai import AsyncWebCrawler\n\nasync def main():\n    async with AsyncWebCrawler() as crawler:\n        result = await crawler.arun(url=\"https://news.ycombinator.com\")\n        print(result.markdown)\n\nasyncio.run(main())",
      "asOf": "2026-11-10"
    },
    "F303": {
      "label": "Quickstart, crawlee-python",
      "display": "import asyncio\nfrom crawlee.crawlers import BeautifulSoupCrawler, BeautifulSoupCrawlingContext\n\nasync def main() -> None:\n    crawler = BeautifulSoupCrawler(\n        max_requests_per_crawl=10,\n    )\n    @crawler.router.default_handler\n    async def request_handler(context: BeautifulSoupCrawlingContext) -> None:\n        data = {\n            'title': context.soup.title.string if context.soup.title else None,\n        }\n        await context.push_data(data)\n    await crawler.run(['https://crawlee.dev'])\n\nif __name__ == '__main__':\n    asyncio.run(main())",
      "asOf": "2026-11-10"
    },
    "F304": {
      "label": "Strength lead, beautifulsoup4",
      "display": "find and find_all",
      "asOf": "2026-11-10"
    },
    "F305": {
      "label": "Strength, beautifulsoup4",
      "display": "find_all() returns every matching tag, and find() returns the first.",
      "asOf": "2026-11-10"
    },
    "F306": {
      "label": "Caution lead, beautifulsoup4",
      "display": "Slower than lxml",
      "asOf": "2026-11-10"
    },
    "F307": {
      "label": "Caution, beautifulsoup4",
      "display": "For large pages, lxml on its own parses much faster.",
      "asOf": "2026-11-10"
    }
  },
  "dataCheckedAt": "2026-11-10",
  "agent": {
    "exaCall": {
      "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"
        ]
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": [
      {
        "endpoint": "/search",
        "body": {
          "query": "Python web scraping library package",
          "numResults": 20,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://www.crummy.com/software/BeautifulSoup/bs4/",
            "https://www.crummy.com/software/BeautifulSoup/bs4/",
            "https://pypi.org/project/beautifulsoup4/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about beautifulsoup4, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what beautifulsoup4 does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of beautifulsoup4 that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of beautifulsoup4 that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says beautifulsoup4 handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library beautifulsoup4 (beautifulsoup4 on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library beautifulsoup4 (beautifulsoup4) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses beautifulsoup4 for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/adbar/trafilatura",
            "https://trafilatura.readthedocs.io",
            "https://pypi.org/project/trafilatura/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about trafilatura, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what trafilatura does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of trafilatura that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of trafilatura that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says trafilatura handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library trafilatura (trafilatura on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library trafilatura (trafilatura on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library trafilatura (trafilatura on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library trafilatura (trafilatura on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library trafilatura (trafilatura) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses trafilatura for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/CodeAlive-AI/ai-driven-development/blob/4d670ef6de186a2532d88bf8c694bfc4b1c03301/skills/fetch-url-as-markdown/scripts/fetch_url.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function fetch_url_as_markdown() in this file, which uses the trafilatura library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What fetch_url_as_markdown() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the trafilatura calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/scrapy/scrapy",
            "https://scrapy.org",
            "https://pypi.org/project/scrapy/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about scrapy, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what scrapy does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of scrapy that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of scrapy that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says scrapy handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library scrapy (scrapy on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library scrapy (scrapy on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library scrapy (scrapy on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library scrapy (scrapy on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library scrapy (scrapy) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses scrapy for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/donnemartin/spiders/blob/2cdf16a2d1c69503acd5d792a9a8e615d9e990cb/spiders/spiders/awsdocs.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function parse() in this file, which uses the scrapy library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What parse() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the scrapy calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/scrapy/parsel",
            "https://pypi.org/project/parsel/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about parsel, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what parsel does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of parsel that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of parsel that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says parsel handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library parsel (parsel on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library parsel (parsel on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library parsel (parsel on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library parsel (parsel on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library parsel (parsel) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses parsel for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/scrapfly/scrapfly-scrapers/blob/ed9dd1e813e5188a48b8523f9f278567e9806818/realtorcom-scraper/realtorcom.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function scrape_feed() in this file, which uses the parsel library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What scrape_feed() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the parsel calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/RuthGnz/SpyScrap/blob/854070350501e11cf85bef4161b2bda022b0141c/src/osint_sources/twitter.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function twitter() in this file, which uses the parsel library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What twitter() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the parsel calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/unclecode/crawl4ai",
            "https://crawl4ai.com/?ref=github-about",
            "https://pypi.org/project/crawl4ai/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about crawl4ai, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what crawl4ai does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of crawl4ai that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of crawl4ai that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says crawl4ai handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawl4ai (crawl4ai on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawl4ai (crawl4ai on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawl4ai (crawl4ai on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawl4ai (crawl4ai on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library crawl4ai (crawl4ai) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses crawl4ai for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/cyberagiinc/DevDocs/blob/a3dd9fd2aac83b0d78f249ebf80f700a3e6b8d92/backend/app/config.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function get_crawler_config() in this file, which uses the crawl4ai library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What get_crawler_config() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the crawl4ai calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/wecode-ai/Wegent/blob/f701f1ff874364370dc8347c6cf8a1045f1175da/backend/app/services/web_scraper/scraper_service.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _get_crawler() in this file, which uses the crawl4ai library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _get_crawler() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the crawl4ai calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/JJJJSTIYYYY/alira/blob/bb5aa93dc5dce1302dfd9960cc56009afdb1a7f3/AGENT/agent_module/apix_agent/apix_agent_core/tools/web_search/providers/crawl4ai.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function fetch_content() in this file, which uses the crawl4ai library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What fetch_content() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the crawl4ai calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/RamsesAguirre777/facebook-ads-library-mcp/blob/ea3c877855c16fb4594f640634d06f85e414eadb/facebook_ads_mcp_complete.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _render_ad_library() in this file, which uses the crawl4ai library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _render_ad_library() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the crawl4ai calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/D4Vinci/Scrapling",
            "https://scrapling.readthedocs.io/en/latest/",
            "https://pypi.org/project/scrapling/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about Scrapling, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what Scrapling does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of Scrapling that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of Scrapling that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says Scrapling handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library Scrapling (scrapling on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library Scrapling (scrapling on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library Scrapling (scrapling on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library Scrapling (scrapling on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library Scrapling (scrapling) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses scrapling for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/MODSetter/SurfSense/blob/1f4069541fb8faa14b0b2d29bd3d49359c47446d/backend/plugins/proprietary/reddit/fetch.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _open() in this file, which uses the Scrapling library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _open() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the Scrapling calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/apify/crawlee-python",
            "https://crawlee.dev/python/",
            "https://pypi.org/project/crawlee/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about crawlee-python, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what crawlee-python does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of crawlee-python that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of crawlee-python that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says crawlee-python handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawlee-python (crawlee on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawlee-python (crawlee on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawlee-python (crawlee on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library crawlee-python (crawlee on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library crawlee-python (crawlee) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses crawlee for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/zeenie-ai/OpenCompany/blob/0bed1d361e28903737578fac2e5c22af58963eb9/server/nodes/scraper/crawlee_scraper/__init__.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function _run_beautifulsoup() in this file, which uses the crawlee-python library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What _run_beautifulsoup() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the crawlee-python calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/firecrawl/firecrawl",
            "https://firecrawl.dev",
            "https://pypi.org/project/firecrawl/"
          ],
          "text": {
            "maxCharacters": 40000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "Facts about firecrawl, a Python web scraping library",
            "schema": {
              "type": "object",
              "properties": {
                "what": {
                  "type": "string",
                  "description": "One or two sentences on what firecrawl does and how it works (its engine, models, or approach), in plain third person. Not what it is best for. Never address the reader."
                },
                "what_quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports the description, copied exactly."
                },
                "strengths": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Concrete strengths of firecrawl that this page states."
                },
                "limitations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lead": {
                        "type": "string",
                        "description": "A lead of two to five words that names the point, in sentence case, without a final period."
                      },
                      "detail": {
                        "type": "string",
                        "description": "One plain sentence, in the third person, on why the point matters or when it bites, using the page's own facts. Never address the reader."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that states the point, copied exactly."
                      }
                    }
                  },
                  "description": "Limitations, requirements, or caveats of firecrawl that this page itself states, such as a system dependency or a removed API."
                },
                "needs": {
                  "type": "array",
                  "description": "The developer needs from the list that this page says firecrawl handles, each with its sentence.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "need": {
                        "type": "string",
                        "enum": [
                          "Static HTML parsing",
                          "JavaScript-heavy sites",
                          "Large site crawls",
                          "Concurrent requests",
                          "Markdown for LLMs",
                          "Quick one-off scripts",
                          "None"
                        ],
                        "description": "Which one of these developer needs the recommendation answers, or None: Static HTML parsing; JavaScript-heavy sites; Large site crawls; Concurrent requests; Markdown for LLMs; Quick one-off scripts."
                      },
                      "reason": {
                        "type": "string",
                        "description": "Why this library fits that need, in two to four words of the page's own terms: a property of the library such as its runtime, its API, its models, or its maturity, not a test result. Empty when the page gives no reason."
                      },
                      "quote": {
                        "type": "string",
                        "description": "The page's sentence that says so, copied exactly."
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library firecrawl (firecrawl on PyPI) render pages that need JavaScript, using a headless browser? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library firecrawl (firecrawl on PyPI) crawl a website by following links on its own? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library firecrawl (firecrawl on PyPI) send asynchronous or concurrent HTTP requests? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "Can the Python library firecrawl (firecrawl on PyPI) select HTML elements with XPath expressions? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "required": [
              "answer"
            ],
            "properties": {
              "answer": {
                "type": "string",
                "enum": [
                  "yes",
                  "no",
                  "unclear"
                ]
              },
              "how": {
                "type": "string",
                "description": "Two to five words: built in, via plugin, needs an OCR engine, or not supported"
              },
              "evidence": {
                "type": "string",
                "description": "The documentation sentence that supports the answer"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/answer",
        "body": {
          "query": "What output formats can the Python library firecrawl (firecrawl) return or write scraped content as? Answer from its own documentation.",
          "outputSchema": {
            "type": "object",
            "properties": {
              "formats": {
                "type": "string",
                "description": "The output formats the library's docs say it returns or writes, one to four names separated by commas"
              },
              "evidence": {
                "type": "string"
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/reference/answer"
      },
      {
        "endpoint": "/search",
        "body": {
          "query": "Python project that uses firecrawl for web scraping, fetching pages and extracting data from HTML, application code",
          "numResults": 15,
          "type": "auto",
          "includeDomains": [
            "github.com"
          ]
        },
        "docsUrl": "https://exa.ai/docs/reference/search"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://github.com/break-into-data/ai-engineer-toolkit/blob/7bee207de261661138c4c7358963ad3757ed9172/sandbox/hiring-agent/utils/utils.py"
          ],
          "text": {
            "maxCharacters": 30000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "The function ingest_inputs() in this file, which uses the firecrawl library",
            "schema": {
              "type": "object",
              "properties": {
                "sentence": {
                  "type": "string",
                  "description": "What ingest_inputs() does, in one plain sentence of at most thirty words, third person, present tense. Shape: a verb phrase naming the job (for example 'Extracts the text of every page'), a colon, then the firecrawl calls it makes, by name, in the order it makes them. Do not name the function, the file, or the repository. Only this function."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      },
      {
        "endpoint": "/contents",
        "body": {
          "ids": [
            "https://playwright.dev/python/"
          ],
          "text": {
            "maxCharacters": 20000
          },
          "maxAgeHours": 24,
          "summary": {
            "query": "What is Playwright?",
            "schema": {
              "type": "object",
              "properties": {
                "definition": {
                  "type": "string",
                  "description": "One or two plain sentences on what Playwright is and who maintains it, written to follow the name: start with the word 'is' and leave the name out. Never address the reader."
                },
                "quote": {
                  "type": "string",
                  "description": "The page's sentence that best supports it, copied exactly."
                }
              }
            }
          }
        },
        "docsUrl": "https://exa.ai/docs/contents/quickstart"
      }
    ]
  }
}
