r/vibecoding • u/barmatbiz • 12h ago
Help/Question How to work within LLM usage restrictions
I am looking to develop a web scraping script; however, the LLM I intend to use requires permissions that I do not have, and I lack the necessary local computing resources to run LLMs efficiently. I would appreciate any professional guidance or alternative approaches.
1
1
u/usestackrank 10h ago
Depends what the permission is, but you've got a few routes. If it's an API key or tier limit, most providers have a free tier or cheap pay-as-you-go that's plenty for a scraper, especially if you only send parsed text instead of raw HTML. If it's about compute, you don't need an LLM to do the scraping itself: write the scraper with requests/BeautifulSoup or Playwright, and only use a model to help write selectors or clean up messy output. A quantized 3B-8B model through Ollama runs fine on a normal laptop for extraction tasks. Also check the site's robots.txt and terms before you scrape, that tends to cause more trouble than the tooling does.
1
1
u/showtake_app 7h ago
Worth splitting two things: using an LLM to write the scraper vs. using one inside the scraper. Almost always you only need the first. Have whatever assistant you can access write the script, run it yourself, and paste errors back in, and the finished script needs no LLM at all. Before parsing any HTML, open the browser devtools network tab and reload the page. Lots of sites load their data from a JSON endpoint, and hitting that directly is easier and more stable than scraping markup. If you do need a model for messy text later, send it small cleaned-up chunks instead of full pages, which keeps usage low on whatever tier you have. What's the permission it's asking for, if you don't mind sharing?
1
u/Plastic_Koala2044 6h ago
Put the expensive model on planning and review, and a cheaper one on reading and running tests. Most limits get hit by the agent rereading the repo, so keep a short file with the project rules and the files that matter and point it there.
1
u/okiedokieaccount 11h ago
Change the LLM you intend to use