i am making a web scraping course on datacamp :D
in the session it self we are scraping datacamp websites to get courses names and urls however, i am trying to reach the same result on pycharm on my pc ,
unfortunately nothing happens
i have tried many css locators and the same result always empty list
can you just guide me what is the wrong ?
from scrapy import Selector import requests
url = 'https://www.datacamp.com/courses-all' html = requests.get(url).content sel = Selector ( text = html)
courses_names = sel.css('section.css-6b6e9e-Search>article.css-1t5b87c-HitCard>h2.css-172ju3k-Box ::text').extract()
print(courses_names)