thepipe
thepipe copied to clipboard
TypeError: scrape_file() got an unexpected keyword argument 'ai_extraction'
that's trying to use the cli
Hi @Fuckingnameless , thanks for pointing this issue out. This should be fixed as of commit #8ee1174
New usage is as follows:
Basic usage: scrape a file, directory, or URL
thepipe
AI scraping options
--openai-api-key=KEY To enable VLM scraping, pass in your OpenAI API key
--openai-model=MODEL Model to use for scraping (default is DEFAULT_AI_MODEL, currently gpt-4o)
--openai-base-url=URL Custom LLM endpoint, for local LLMs or hosted APIs like OpenRouter (default: https://api.openai.com/v1)
--ai_extraction ⚠️ DEPRECATED; will get API key from OPENAI_API_KEY environment variable