Dev.to AI 🤖 Ai 👁 0 📖 6 min read

I Tried to Vibe-Code My Way Out of Job Hunting. It Broke in a Week

Full disclosure: I'm a product manager at Spicrawl. This is the feature I wish had existed during my own job search, before I joined. The tab ritual For 4 months my mornings started the same way. Before coffe

I Tried to Vibe-Code My Way Out of Job Hunting. It Broke in a Week

Full disclosure: I'm a product manager at Spicrawl. This is the feature I wish had existed during my own job search, before I joined.

The tab ritual

For 4 months my mornings started the same way. Before coffee, before checking messages, I opened a bookmarks folder called "jobs" and clicked "open all".

A stressed tiger frantically banging on a computer keyboard

13 tabs. Company career pages, the Y Combinator job board, Wellfound, a couple of subreddits where founders post "[Hiring]" threads. I scrolled each one looking for any product role that had not been there yesterday.

Most days nothing was new. Some days a role was new, but it had gone up three days earlier and already had hundreds of applicants. I did the same loop again at lunch, and again at night when I could not sleep.

A penguin still waiting next to an hourglass

The worst part was not the rejections. It was the feeling that the right posting had gone live somewhere I was not looking.

So I tried to vibe-code my way out

I'm a PM, not an engineer. But I build things with AI tools, so I did what any vibe coder would do. I opened my editor and typed: "Build me a script that scrapes all these job boards every morning."

It worked. For one board. For about a week.

Then the next board had a different page layout. Another one loaded its jobs with JavaScript, so the script saw an empty page. One career page changed its design, and my scraper quietly returned nothing, which looked exactly like "no new jobs today".

Get a job, they said

I spent my evenings prompting fixes for a scraper instead of writing applications. Every fix broke something else. After two weeks I deleted it and went back to the tabs.

The lesson, which I now repeat in product meetings: AI can write a scraper in one prompt. Keeping thirteen of them working every day is a different job.

What I actually needed

If I write it as a product spec, the requirement was small:

  • One query across every board, instead of one tab per company
  • Only postings from the last few hours or days
  • Filters for the things that decided whether I could even apply: remote, country, visa sponsorship, salary
  • A direct link to the application form
  • Someone else maintaining the scraping

That last line is the whole point.

The endpoint that does it

Spicrawl's job search is one endpoint, POST /v1/jobs/search. It queries an index of open postings that Spicrawl has already collected, so nothing is scraped while you wait and no scraper of yours can break. Results come back newest first.

The index covers 13 platforms:

  • Company job boards: Greenhouse, Lever, Ashby, Workable, SmartRecruiters, Recruitee, Breezy, Pinpoint, Personio and Workday
  • Y Combinator's job board
  • Wellfound role listings
  • Reddit "[Hiring]" posts from job subreddits

That list is almost exactly my old bookmarks folder.

Mind blown: an animated big bang explosion

The first request

Get an API key from the Spicrawl dashboard and put it in SPICRAWL_API_KEY. Then:

curl -X POST https://api.spicrawl.com/v1/jobs/search \
  -H "Authorization: Bearer $SPICRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "product manager -senior",
    "posted_within": "7d",
    "region": "Berlin",
    "workplace": ["remote", "hybrid"],
    "limit": 25
  }'

The title field takes quoted phrases, or, and -exclusions. That -senior is the filter I used to apply by eye, hundreds of times a week.

The response has a jobs array. Each posting carries the title, company, location, workplace type, skills, the dates it was posted and first seen, and an apply_url. Salary appears when the company published one. If there are more results you get a next_cursor.

The searches I would have run

Each of these is a complete request body. Each one replaces a part of the ritual.

"What went up while I was asleep?" No title at all, only filters:

{ "posted_within": "6h", "region": "Germany", "workplace": ["remote"] }

"Same job, four different names": Product roles get titled every possible way. or and quoted phrases cover them in one query:

{ "title": "\"product manager\" or \"product owner\" or \"product lead\" or \"technical pm\"", "posted_within": "7d" }

"Remote roles in one country, this week":

{ "title": "product manager", "country": "US", "workplace": ["remote"], "posted_within": "7d" }

"Will they sponsor a visa?" I used to read whole descriptions to find this one sentence:

{ "title": "product manager", "visa_sponsorship": true, "posted_within": "30d" }

"Is it worth my time?" A salary floor in my own currency:

{ "title": "product manager", "salary_min": 120000, "salary_currency": "EUR" }

You can also pass seniority, employment_type and language. Add "include_description": true to get the full posting text, which is handy when you ask an AI to help tailor your cover letter to the role.

The one-prompt version that actually works

This is the script I tried to vibe-code, minus the part that kept breaking. One prompt to an AI assistant gets you this. It runs one search, remembers which postings it has already shown you, and prints only the new ones.

import json, os, pathlib, requests

SEEN = pathlib.Path("seen_jobs.json")
seen = set(json.loads(SEEN.read_text())) if SEEN.exists() else set()

resp = requests.post(
    "https://api.spicrawl.com/v1/jobs/search",
    headers={"Authorization": f"Bearer {os.environ['SPICRAWL_API_KEY']}"},
    json={
        "title": "product manager -senior",
        "workplace": ["remote"],
        "posted_within": "24h",
        "limit": 50,
    },
    timeout=60,
)
resp.raise_for_status()

for job in resp.json()["jobs"]:
    if job["id"] not in seen:
        print(f"{job['title']} at {job['company']} ({job['location']})\n  {job['apply_url']}\n")
        seen.add(job["id"])

SEEN.write_text(json.dumps(sorted(seen)))

Put it on a morning cron job, or pipe the output to email or a Slack webhook. It checks once and tells you what changed. No parsing, no selectors, nothing to fix when a career page gets redesigned.

A penguin putting on sunglasses: deal with it

If a search has more than 50 results, send next_cursor back as cursor with the same filters to get the next page.

What it will not do

As a PM I'd rather tell you the limits than have you find them in production. Straight from the docs:

  • Five searches per workspace per day. The counter resets at 12:00 AM IST. That is enough for a morning check and a few targeted queries, not for hammering the endpoint.
  • Two credits per request, whatever the limit, and even when nothing matches.
  • Not real time. The index usually refreshes within a day, so a posting from the last hour may be missing and a removed one may still show as open.
  • Sparse fields. Most postings do not state visa, seniority or employment type, so those filters return few results. Salary appears only when the company published it.
  • Visa is a hint, not a list. visa_sponsorship: true will miss companies that sponsor, and some answers are inferred and can be wrong.
  • Partial coverage on big boards. Large Greenhouse and Workday boards fill in over several refreshes, and Wellfound covers only the newest listings.
  • No LinkedIn, Indeed or Naukri. It covers the 13 platforms above, not the big aggregators.

There is also a find_contacts option that looks up names and roles of people at the hiring company. It costs 5 extra credits per posting and returns no emails, phone numbers or LinkedIn data.

None of this would have made my search easy. It would not have written my applications or got me through a product case interview.

What it would have given me

It would have given me my mornings back, and my evenings too, the ones I spent debugging a scraper. One message with the roles that were new, instead of an hour of scrolling to learn that nothing was.

And it would have taken away the fear that I was missing something. That fear cost me more energy than any rejection email.

If you are in the middle of a search right now: automate the looking, don't maintain the scraping, and save yourself for the applying. The job search guide has the full field reference.

Have you ever vibe-coded a tool for your job search? Did it survive past week one? Tell me in the comments.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.