
28.06.2022, 02:34
|
|
Участник форума
Регистрация: 05.12.2020
Сообщений: 241
С нами:
2862489
Репутация:
18
|
|
Сообщение от Akatsyk1
ты апи правильно установил? кинь весь код
а как установить его 😀
Python:
Код:
import
api
user_agent
=
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
cookies
=
"_ga=GA1.2.817824778.1598202713; _ym_uid=15982027131034355476; R3ACTLB=7b11597250aac199c131e16f50336bef; _ym_d=1648699213; xf_tfa_trust=Y7tKZqAQgXJbdyfMNVXPOiEpC_8TEU3Z; xf_user=514311,-QgumODfZst3ONKU5m2wLFeqoRZkVcGogsHGTlhA; R3ACTLAB-ARZ1=ec556e88dfe786f86972e49e20648d33; xf_emoji_usage=:no_comments:,:goodbye:,:love:,:loud_hih:,:baa_baa_baa:,:hello:,:chill:,:10of10:,:i_did_not_know:,:you_rat:,:that_pussy:; _gid=GA1.2.605016914.1655832518; _ym_isad=1; xf_csrf=7xI7n5A4cnzBoP30; xf_session=Iy7te4uqFbZo4ysNXgtSXaV10AAbCVvx; _gat_gtag_UA_175660820_1=1"
api
.
setup
(
user_agent
,
cookies
)
for
thread
in
api
.
get_threads
(
"https://forum.arizona-rp.com/forums/1207/"
)
:
print
(
"{} by {}"
.
format
(
thread
[
'title'
]
,
thread
[
'creator'
]
)
)
|
|
|