jobs.ch jobs in Python: the workload is a range, and the start date is not a start date
A jobs.ch search page carries its 20 jobs as data. Half or more give the workload as a range, 80 to 100 % most often. The job pages add structured data for search engines, but it seldom has a pay figure and a start date that is the posting date plus 30 days. How to read both, and what to keep.
jobs.ch is a big Swiss job board, and jobup.ch is its French-language sister site. Their search pages carry the jobs as JSON in the page itself: a script sets __INIT__ to the state the page was built from, so no browser and no login are needed. robots.txt leaves the search pages (with ?page=) and the job pages open and closes /api/. It asks for no pause between requests; we wait 3 seconds anyway.
On 1 November 2026 we read three pages each of three searches, Python, data analyst and Pflege (German for nursing care), and 20 of the job pages they link to.
The short version#
- 20 jobs a page, plus the total: 508 jobs for Python, 154 for data analyst, 5,979 for Pflege.
- The workload is often a range. Swiss ads give the hours as a percentage of a full week, and often as two numbers. A range in 65 % of the Python jobs, 48 % of data analyst and 73 % of Pflege; 80 to 100 % was the most common workload in two of the three searches. Fewer than a third of the titles show the percentage, so read the field, not the title.
- The job pages' structured data adds less than it seems: 19 of 20 had a
baseSalaryin francs with no amount, and on the same 19 thejobStartDatewas exactly 30 days afterdatePosted. - The same job can turn up on two pages: 6 of the 60 data analyst rows were repeats. Keep the job id and drop doubles.
The code#
import json, re, time, urllib.parse, urllib.request
UA = {"User-Agent": "jobs-reader/1.0 (you@example.com)"}
TYPE = {"1": "temporary", "3": "internship", "5": "permanent"} # employmentTypeIds, checked against job pages
SITES = {"jobs.ch": "https://www.jobs.ch/en/vacancies/", # jobup.ch: the French-language site,
"jobup.ch": "https://www.jobup.ch/en/jobs/"} # same pages under another path
def get(url):
req = urllib.request.Request(url, headers=UA)
return urllib.request.urlopen(req, timeout=30).read().decode("utf-8", "replace")
def page_state(html):
"""The page's own data: a JSON object after `__INIT__ =` in a script tag."""
start = html.index("{", html.index("__INIT__"))
return json.JSONDecoder().raw_decode(html[start:])[0]
def row(job, site="jobs.ch"):
low, high = job["employmentGrades"]
return {"id": job["id"], "title": job["title"], "company": job["company"]["name"], "place": job["place"],
"workload_min": low, "workload_max": high,
"type": [TYPE.get(t, f"code {t}") for t in job["employmentTypeIds"]],
"published": job["publicationDate"][:10], "first_published": job["initialPublicationDate"][:10],
"url": SITES[site] + f"detail/{job['id']}/"}
def search(term, pages=1, site="jobs.ch", pause=3):
"""Jobs from a jobs.ch or jobup.ch search: (total found, rows), 20 a page, each job once."""
total, rows = 0, {}
for n in range(1, pages + 1):
query = {"term": term, **({"page": n} if n > 1 else {})}
main = page_state(get(SITES[site] + "?" + urllib.parse.urlencode(query)))
main = main["vacancy"]["results"]["main"]
total = total or main["meta"]["totalHits"]
for job in main["results"]:
rows.setdefault(job["id"], row(job, site))
time.sleep(pause)
return total, list(rows.values())
def job_posting(url):
"""The schema.org JobPosting that a job page carries for search engines (None if it has none)."""
for block in re.findall(r'<script type="application/ld\+json"[^>]*>(.*?)</script>', get(url), re.S):
data = json.loads(block)
if isinstance(data, dict) and data.get("@type") == "JobPosting":
return data
return Nonetotal, rows = search("python")
print(total, "jobs found;", len(rows), "on page 1")
print(rows[0])
print("jobup.ch:", search("python", site="jobup.ch")[0], "jobs found")It printed 508 jobs found, 20 on page 1, and the first row: an internship as mechatronics engineer at VAT Vakuumventile in Haag, 100 %, posted that day. Its type code says temporary although the title says internship, so look for internships in the title as well. With site="jobup.ch" the same search found 313 jobs on jobup.ch.
Keep both ends of the workload#
employmentGrades is a pair: [80, 100] means the employer takes anyone from four days a week to five. Store it as two columns, workload_min and workload_max, and filter on the end that matters: someone who wants part time looks for workload_min of 60 or less, someone who wants full time for workload_max of 100. A single number loses that. Keep only the higher one and every 60 to 100 % job looks full time; keep only the lower one and it drops out of full-time searches.
What the job pages' structured data says#
Each job page carries a schema.org JobPosting for search engines. It looks like more data than the search row. In our 20 pages:
baseSalarynamed the currency, CHF, and no amount, on 19 pages. The 20th had a JobPosting of another shape, withoutbaseSalary,workHoursorjobStartDate. No search row or JobPosting we read had a pay figure. Read again on 17 November 2026, 1 of 19baseSalaryfields had an amount: keep it when it is there, and expect most to be empty.workHoursis the workload times 42 hours, the same range in other units: 80 to 100 % reads "33.6 - 42 hours/week". It matched that sum on all 19 pages that had it.jobStartDatewas exactly 30 days afterdatePostedon all 19. Treat it as a filler, not as the day the job starts.totalJobOpeningswent from 1 to 114 on single ads, and two ads of the same company showed 93 and 114. We did not find out what it counts, sorow()leaves it out.
The employment type is in the search row as a code. 1 is temporary, 3 internship and 5 permanent: on the 19 pages, the JobPosting's employmentType agreed with the code every time. We also saw codes 2 and 6 and did not map them, so row() keeps them as code 2 and code 6. 14 of the 54 data analyst jobs had no type at all.
Which date is the job's age#
A row has two dates. first_published is when the ad first went up; published is the date the page shows, which is later when the ad was put up again. In the data analyst search, 5 of the 54 jobs showed a date more than a day after their first one. Sort by first_published if you want the age.
Every day, at scale#
For many searches on a schedule, our Jobs.ch & Jobup.ch Scraper on Apify does the reading. Search by keyword and place, or paste search links. Each job comes back with title, company, address, canton, workload percent, employment type, position and posting dates, and with posting details on, which is the default, also industry, category, skills, benefits, the employer's website and the description. It is billed per result.
written
15 min readFreelancer.com projects in Python: at least 698 new in a day, and no client country
On 7 November 2026 we read the public project list of Freelancer.com in 25 requests: 4,440 projects counted, 796 read, 698 of them posted in the last 24 hours. 600 were fixed price and 196 hourly, in 9 currencies, with budgets that are brackets and no client country anywhere. How to read it in Python, and what the answer leaves out.
9 min readGupy jobs in Python: the portal's JSON search, and a total that stops at 100
The Gupy job portal fills its search from a JSON route on the same host, with no key and no login. In the first 100 results of four searches on 5 November 2026, 67 % of 398 postings were on-site and 18 % remote, from 1 % remote for vendedor to 63 % for desenvolvedor. 82 % carry the PcD flag, and with 100 rows a page the total of a big search says 100.
5 min readReed jobs in Python: UK salaries come per hour, per day and per year
A Reed search page carries its 25 jobs as data, salary included. Of 150 jobs, 85 % showed a salary, in three units; another 15 % said negotiable or competitive instead, and most of those still had a number in the data. How to read it, and the one column you must not drop.