Google Jobs Scraper avatar

Google Jobs Scraper

Try for free

3 days trial then $40.00/month - No credit card required now

View all Actors
Google Jobs Scraper

Google Jobs Scraper

dan.scraper/google-jobs-scraper
Try for free

3 days trial then $40.00/month - No credit card required now

Google Jobs Scraper is to enable you to scrape Google Jobs Results, extract "googleJobs", "categories". Allow customizing country or language or job radius and extraction of custom attributes. Download data as HTML table, JSON, CSV, Excel, XML.

PO

Date filter issue

Closed

powermetrics opened this issue
2 years ago

How do I filter for jobs posted 2 days ago or last week e.g.: "date_posted : 2 days ago" , can you please assist me on what strings to use in this filter to filter date results

dan.scraper avatar

For every result like this one: https://api.apify.com/v2/datasets/o2IgGoZ3FmdzcRu8B/items?clean=true&format=json. You will have categories node. Each categories node has data like:

1{
2      "type": "Date posted",
3      "param": "date_posted",
4      "options": [
5        {
6          "text": "All"
7        },
8        {
9          "text": "Past day",
10          "value": "today"
11        },
12        {
13          "text": "Past 3 days",
14          "value": "3days"
15        },
16        {
17          "text": "Past week",
18          "value": "week"
19        },
20        {
21          "text": "Past month",
22          "value": "month"
23        }
24      ]
25    },

You can construct the filter by param and value. In this search, you can filter the past 3 days, or past week...: date_posted:3days, date_posted:week...

This filter is from Google Results. There are many categories to filter the jobs: job_family_1: researcher, city:Y-nYVxKD11KTyrv5Er2qzA==...

DO

dev_powermetrics-owner

2 years ago

I tried giving input -> filterParam:"date_posted:2days" / filterParam:"date_posted:1days"/ filterParam:"date_posted:24hours" but still its scraping all the data

Can you please provide me specific strings which i can use in input and get date filtered results only

dan.scraper avatar

Google provides some options in the categories node, like the example above, only today, 3days, week, month are available. There is no option for 2days or 1day.

Developer
Maintained by Community
Actor metrics
  • 27 monthly users
  • 9 stars
  • 100.0% runs succeeded
  • 33 days response time
  • Created in Jul 2022
  • Modified 3 months ago