'web scraping returns an empty list
import requests
from bs4 import BeautifulSoup
result = requests.get('https://www.indeed.com/?vjk=5bc59746be36d8d0')
source = result.content
soup = BeautifulSoup(source, "lxml")
job_titles = soup.find_all("a", {"class": "jcs-JobTitle"})
print(job_titles)
The problem here that printing job_titles returns an empty list instead of the job titles in the web site
please help me fix this problem and any help would be appreciated
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
