O
O
Optimus2015-02-10 22:18:35
Programming
Optimus, 2015-02-10 22:18:35

How to fake a request from a browser?

In the address bar of the browser, you can now type any query like "mom washed the frame" and we will be redirected to the search results for this query.
Question: is it possible to fake the request somehow, i.e. send it not from the browser, but so that the search engine would think that it is from the browser?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey Surzhikov, 2015-02-10
@Surzhikov

It is possible, but it will take a little fiddling.
In the request, you need to pass cookies, and user-agent
But be aware that the main search engines quickly determine that your requests are automatic and ask you to enter a captcha.
If you want to search using Yandex, use the honest option ( https://tech.yandex.ru/xml/ ) if the restrictions suit you.
The simple answer to your question is YES, you can.
The question is why.

G
GavriKos, 2015-02-10
@GavriKos

Can. Install a sniffer, such as Fiddler, see all the get-request parameters in full, especially the User Agent, and repeat in your code.

A
Artem @Jump, 2017-10-02
@ArtemLime

But still BitComet writes that the port is blocked!
First, let us know if you have a white IP address!
If it is, then you can solve the problem.
If it doesn't exist, then it doesn't make sense.

P
poisons, 2017-10-02
@poisons

I'm not sure if BitComet is there, but in utorrent the port test works according to the lunar calendar.
It is worth checking from the outside, there are online port testers, so it’s better to check them.
Also, you should not use the default ports, they can be stupidly cut by the provider.
Well, the most banal thing that can be - you are sitting at the nat provider.
P.S. well, there are routers in which there are port forward settings, but they don’t work, usually branded routers are guilty of this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question