Bunsly / JobSpy

Jobs scraper library for LinkedIn, Indeed, Glassdoor & ZipRecruiter
https://usejobspy.com
MIT License
555 stars 109 forks source link

RunTime Error #110

Closed giga-sec closed 4 months ago

giga-sec commented 4 months ago

Error code below Code: The default one

import csv
from jobspy import scrape_jobs

jobs = scrape_jobs(
    site_name=["indeed", "linkedin", "zip_recruiter", "glassdoor"],
    search_term="software engineer",
    location="Dallas, TX",
    results_wanted=20,
    hours_old=72, # (only linkedin is hour specific, others round up to days old)
    country_indeed='USA'  # only needed for indeed / glassdoor
)
print(f"Found {len(jobs)} jobs")
print(jobs.head())
jobs.to_csv("jobs.csv", quoting=csv.QUOTE_NONNUMERIC, escapechar="\\", index=False) # to_xlsx

ERROR CODE BELOW

Testing
panic: runtime error: index out of range [1] with length 1

goroutine 18 [running, locked to thread]:
github.com/bogdanfinn/tls-client.stringToSpec({0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...)
    /Users/bogdan/go/pkg/mod/github.com/bogdanfinn/tls-client@v1.6.0/ja3.go:89 +0xe5f

image

cullenwatson commented 4 months ago

pip install tls-client -U

giga-sec commented 4 months ago

Wow I had the oldest version, Version: 0.2.2

Thanks