{"repo":"zocomputer/selectron","free":true,"listed":false,"github":"https://github.com/zocomputer/selectron","clone":"git clone https://github.com/zocomputer/selectron.git","description":"AI web parser library + CLI","language":"Python","stars":52,"topics":["ai","parser-generator","webscraping","beautifulsoup","beautifulsoup4","duckdb","pydantic-ai","python","scraper","textualize"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"⣏ Selectron ⣹ Selectron is an AI web parsing library & CLI designed around two goals: 1. Fully automated parser generation – AI-\"compiles\" (generates) parsers on-demand 2. Efficient parser execution – Parsers are cached, no LLM calls at runtime Demo videos Save your Twitter feed to DuckDB https://github.com/user-attachments/assets/d8743c32-087f-4137-8451-e4ec3e5716ed Generate a new scraper with AI https://github.com/user-attachments/assets/8f523f33-a786-4871-b081-4fe9b7422a44 How it works - Chrome integration: Connects to Chrome over CDP and receives live DOM and screenshot data from your active tab. Selectron uses minimal dependencies – no browser-use or stagehand, not even Playwright (we prefer direct CDP). - Fully automated parser generation: An AI agent generates selectors for content described with natural language. Another agent generates code to extract data from selected containers. The final result is a parser. - CLI application: When you run the Textual CLI, parsed data is saved to a DuckDB database, making it easy to analyze your browsing history or extract structured data from websites. Built-in parsers include: - Twitter - LinkedIn - HackerNews - (Please contribute more!) Use the CLI When you run selectron , it creates a DuckDB database in your app directory, and saves parsed data from given URL to a table named by the URL slug: - x.com/home - x.com 2fhome (Selectron uses a reversible slug system) When you run selectron inside this repo, parsers are saved to the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/zocomputer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zocomputer/selectron/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}