nicolomantini / LinkedIn-Easy-Apply-Bot

Automate the application process on LinkedIn
Apache License 2.0
765 stars 321 forks source link

line : 269 - 270 IndexError:list index out of range (browserTitle.split(' | ')[1]) #77

Closed Oscarwang666 closed 3 years ago

Oscarwang666 commented 3 years ago

Describe the bug

line : 269 - 270

IndexError:list index out of range

Screenshots 3951617853752_ pic

perhaps add try catch ?

try:
     job = re_extract(browserTitle.split(' | ')[0], r"\(?\d?\)?\s?(\w.*)")
     company = re_extract(browserTitle.split(' | ')[1], r"(\w.*)")
except:
github-actions[bot] commented 3 years ago

Stale issue message