Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
d4nt committed May 23, 2019
1 parent 68d0907 commit b43c3ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Expand Up @@ -126,7 +126,7 @@ def get_start_range(what = WHAT, where = WHERE):
search_count = content.text.lstrip()
#problem area:
# Extract total number of jobs found from the search_count string.
pattern = r'\s[0-9]+$'
pattern = r'of\s[0-9,]+jobs$'
total_jobs = int(re.findall(pattern, search_count)[0].lstrip())

# Set start range.
Expand Down

0 comments on commit b43c3ac

Please sign in to comment.