I
I
Igor Mitrakov2018-03-14 01:41:47
Python
Igor Mitrakov, 2018-03-14 01:41:47

What's wrong with python encoding?

Hello. I am writing a parser using Grab and bs4. When filling out the form in English, everything works great, but if you send at least one Cyrillic character to the form, the error immediately flies "raise error.GrabTooManyRedirectsError()
grab.error.GrabTooManyRedirectsError"
Please tell me what's wrong. I've been standing in the same place for a day now.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kisaa, 2018-03-14
@kisaa

Haven't tried this?
https://github.com/lorien/grab/issues/293

S
Sly_tom_cat ., 2018-03-14
@Sly_tom_cat

What python? 2nd?
At the beginning of the file is written:
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question