mirror of https://github.com/Bunsly/JobSpy
13 lines
319 B
Python
13 lines
319 B
Python
from jobspy import scrape_jobs
|
|
import pandas as pd
|
|
|
|
|
|
def test_ziprecruiter():
|
|
result = scrape_jobs(
|
|
site_name="zip_recruiter", search_term="software engineer", results_wanted=5
|
|
)
|
|
|
|
assert (
|
|
isinstance(result, pd.DataFrame) and len(result) == 5
|
|
), "Result should be a non-empty DataFrame"
|