curl 'https://qna.habr.com/' \
-H 'Connection: keep-alive' \
-H 'Pragma: no-cache' \
-H 'Cache-Control: no-cache' \
-H 'sec-ch-ua: "Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"' \
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
-H 'Accept-Language: ru-UA,ru;q=0.9,en-US;q=0.8,en;q=0.7,ru-RU;q=0.6' \
-H 'Cookie: hsec_id=765екнг; toster_sid=8887687' \
--compressed
import requests
headers = {сюда вставить содержимое словаря}
response = requests.get('test.com',headers=headers)
import requests
headers = {'user-agent':'mozilla',
'pragma':'no-cache',
'referer':'google.com'}
response = requests.get('test.com',headers=headers)
Вообще, раз сообщения присылаются с определённого адреса, то вместо 'ALL' можно указать FROM кого именно искать сообщения.
Вы явно что-то не то делаете.
Usually your SQL operations will need to use values from Python variables. You shouldn’t assemble your query using Python’s string operations because doing so is insecure; it makes your program vulnerable to an SQL injection attack (see https://xkcd.com/327/ for humorous example of what can go wrong).
make -j3 bindeb-pkg LOCALVERSION=-custom KDEB_PKGVERSION=$(make kernelversion)
...
BUILD arch/x86/boot/bzImage
Setup is 18012 bytes (padded to 18432 bytes).
System is 6741 kB
CRC 18b6c2c6
Kernel: arch/x86/boot/bzImage is ready (#6)
fakeroot -u debian/rules binary
fakeroot: FAKEROOTKEY set to 28462842
fakeroot: nested operation not yet supported
dpkg-buildpackage: ошибка: fakeroot -u debian/rules binary subprocess returned exit status 1
make[1]: *** [scripts/Makefile.package:83: bindeb-pkg] Ошибка 1
make: *** [Makefile:1461: bindeb-pkg] Ошибка 2