C
C
Cethar2021-12-04 23:01:33
Python
Cethar, 2021-12-04 23:01:33

The python parser does not work, what should I do?

The python parser does not work, what should I do?
he needs to take all the games with an amazing rating and write their name, each new name should come from a new line.
Wrote via Sublime text and checked via cmd. At first everything was fine without errors, but nothing was displayed, then a bunch of errors began to come out xs what to do. Please help. I just started learning programming so I don’t understand a lot. I downloaded requests and beautufulsoup4
parser: r = requests.get(" https://stopgame.ru/review/new/izumitelno/p1 ") html = BS(r.content, 'html.parser') for el in html.select(".item > . article-summary"): title = el.select('.caption >



print( title[0].text )

Error that comes out on the command line (cmd):
61abc90f04dc2136475014.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question