Comments (5)
I had to make multiple changes between lines 125-129 such as for class names as follows to now have it applying to jobs, albeit very slowly:
try:
job_results = self.browser.find_element(By.CLASS_NAME, "jobs-search-results-list")
self.scroll_slow(job_results)
self.scroll_slow(job_results, step=300, reverse=True)
job_list = self.browser.find_elements(By.CLASS_NAME, 'scaffold-layout__list-container')[0].find_elements(By.CLASS_NAME, 'jobs-search-results__list-item')
from linkedin-easy-apply-bot.
Small update. I tried same config.yaml on another account (only difference is email and password, rest of the config remained same), and the bot was working fine. When I revert back to the first account -- again same config.yaml except email/password, it started to throw exceptions as follows (copying all output). Both accounts are working normally with easy apply working.
Starting the search for trainee in Brampton, Ontario, Canada.
Going to job page 0
Starting the application process for this page...
Traceback (most recent call last):
File "/home/me/Documents/LinkedIn-Easy-Apply-Bot/linkedineasyapply.py", line 124, in apply_jobs
job_results = self.browser.find_element_by_class_name("jobs-search-results")
File "/home/me/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 766, in find_element_by_class_name
return self.find_element(by=By.CLASS_NAME, value=name)
File "/home/me/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 1251, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/home/me/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "/home/me/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".jobs-search-results"}
(Session info: chrome=102.0.5005.61)
Stacktrace:
#0 0x5568b16fcf33 <unknown>
#1 0x5568b1447118 <unknown>
#2 0x5568b147d3f7 <unknown>
#3 0x5568b147d5c1 <unknown>
#4 0x5568b14b05c4 <unknown>
#5 0x5568b149af9d <unknown>
#6 0x5568b14ae2e4 <unknown>
#7 0x5568b149ae63 <unknown>
#8 0x5568b147082a <unknown>
#9 0x5568b1471985 <unknown>
#10 0x5568b17414cd <unknown>
#11 0x5568b17455ec <unknown>
#12 0x5568b172b71e <unknown>
#13 0x5568b1746238 <unknown>
#14 0x5568b1720870 <unknown>
#15 0x5568b1762608 <unknown>
#16 0x5568b1762788 <unknown>
#17 0x5568b177cf1d <unknown>
#18 0x7f06386b2eae <unknown>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/me/Documents/LinkedIn-Easy-Apply-Bot/linkedineasyapply.py", line 81, in start_applying
self.apply_jobs(location)
File "/home/me/Documents/LinkedIn-Easy-Apply-Bot/linkedineasyapply.py", line 130, in apply_jobs
raise Exception("No more jobs on this page")
Exception: No more jobs on this page
Sleeping for 896.2878136634827 seconds.
from linkedin-easy-apply-bot.
I found that jobs-search-results
is not a class on the jobs page anymore, at least not for me. I had to change it to jobs-search-results-list
.
However, I am still having an issue where I see it scrolling down the jobs listings, but does not apply to any.
from linkedin-easy-apply-bot.
I had to make multiple changes between lines 125-129 such as for class names as follows to now have it applying to jobs, albeit very slowly:
try: job_results = self.browser.find_element(By.CLASS_NAME, "jobs-search-results-list") self.scroll_slow(job_results) self.scroll_slow(job_results, step=300, reverse=True) job_list = self.browser.find_elements(By.CLASS_NAME, 'scaffold-layout__list-container')[0].find_elements(By.CLASS_NAME, 'jobs-search-results__list-item')
does this still work?
to answer my question yes
from linkedin-easy-apply-bot.
The above code does not work anymore.
from linkedin-easy-apply-bot.
Related Issues (20)
- Stuck between INFO and DEBUG
- only single target (not tuple) can be annotated HOT 1
- Can't find a job to apply to HOT 10
- Applies to one job then crashes HOT 8
- cannot import name 'Mapping' from 'collections' (C:\Python310\lib\collections\__init__.py) HOT 1
- Program fails to apply for any of the jobs found on page HOT 2
- Message: no such element: Unable to locate element: {"method":"css selector","selector":".jobs-search-results"}
- Bot is searching for "d" in "e"
- Years of experience answering just the default value
- How do I add "Hybrid" and "On-Site" to the On-site/Remote filter?
- Bot Just Doesn't Work HOT 2
- Stopped applying Phone number for some reason
- TypeError: object of type 'NoneType' has no len() HOT 1
- This project is abandoned, switch to this one HOT 2
- This project is abandoned, switch to this one HOT 13
- New code needs to changed to questions HOT 1
- cannot import name 'annotations' from 'future'
- fix this step
- Limit exceded HOT 2
- Getting error when running main.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkedin-easy-apply-bot.