ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Общие вопросы программирования (https://forum.antichat.xyz/forumdisplay.php?f=206)
-   -   Помогите с парсингом. (https://forum.antichat.xyz/showthread.php?t=1414292)

4uxaLo 26.12.2021 18:02

Сделал парсер по ролику на YouTube. Такая проблема, я хочу парсить онлайн, но почему-то при парсинге онлайн выводит 0/250.

Код:

Python:





Код:

import
requests
from
bs4
import
BeautifulSoup
as
BS
from
requests
.
models
import
Response

r
=
requests
.
get
(
"https://myrds.ru/"
)
html
=
BS
(
r
.
content
,
'html.parser'
)
for
el
in
html
.
select
(
'.monitoring > .container__card'
)
:
title
=
el
.
select
(
'.monitoring__card > .information'
)
print
(
title
[
0
]
.
text
)



Время: 01:01