Skip to content

Commit

Permalink
Decreased linkedin checkup to last 3h
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiMozaffar committed May 1, 2023
1 parent 5a50ca9 commit 44b9bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worker/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_url(job: str, mode: enums.JobModels, page_number=0, location=None):
"trk": "public_jobs_jobs-search-bar_search-submit",
"position": 1,
"pageNum": page_number,
"f_TPR": "r86400",
"f_TPR": "r10800",
"f_JT": "F",
"f_WT": mode.value
}
Expand Down
2 changes: 1 addition & 1 deletion worker/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def scrape_linkedin(
exists = 0
for index, div in enumerate(all_ads):
await asyncio.sleep(2)
if index == 100 or exists == 25:
if index == 100 or exists == 7:
break
await div.click(
timeout=5000
Expand Down

0 comments on commit 44b9bd0

Please sign in to comment.