User-agent question
#1
Hi guys!
I have troubles with user agent on local site kinopoisk.ru (moviefinder)
i have this error:
Sorry - this address banned...
Your IP: 1.1.1.1

UserAgent: XBMC/9.11-alpha1 r24368 (Mac OS X; Darwin 10.2.0; SVN r24368; http://www.xbmc.org)
Referer: http://www.kinopoisk.ru/index.php?kp_query=Up
Kinopoisk.ru.

I think troubles with user-agent string cose i can load site from browsers (opera, safary, chrome) without troubles.

Thanks for advices!
Reply
#2
you can set the user-agent by tacking on |User-Agent=agent to the url. agent should be url encoded.
Reply
#3
can u give me example how i should write url tag?
and from which version it is work?
Thanks!
Reply
#4
if you want to set agent 'some-app v1 (Linux;andsoon)' for http://www.some.where/foo?bar=1 you do
Code:
http://www.some.where/foo?bar=1|User-Agent=some-app+v1+(Linux%3bandsoon)
Reply
#5
tx
i added to url |User-Agent:
<RegExp input="$$1" output="&lt;details&gt;&lt;url function=&quot;GetKPPoster&quot;&gt;http://www.kinopoisk.ru/level/17/film/\1...Mozila/4.0 (compatible; MSIE 7.0; Windows NT 6.0)&lt;/url&gt;&lt;/details&gt;" dest="5">

Nothing happens - the same text in log.
Reply
#6
I'd first check if it's actually contingent on the User agent (use for example https://addons.mozilla.org/en-US/firefox/addon/59 to change you firefox user agent to XBMC/9.11-alpha1).

If that's not the case maybe referrer spoofing is necessary (test with e.g. https://addons.mozilla.org/en-US/firefox/addon/953).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
DonJ
I need change XBMC user-agent to other (for example mozila)
Reply
#8
Bag_Ass, no you don't. I just tried to access http://www.kinopoisk.ru/index.php?kp_query=Up with a XBMC user agent using https://addons.mozilla.org/en-US/firefox/addon/59 and it worked fine.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#9
DonJ
Lets try to access to http://www.kinopoisk.ru/index.php?kp_query=Up and go by 1st url from scraper and if it will sucsess without additional tools i choose ur point of view.
Now in windows Proximition - rulezzz but for mac Sad
Reply

Logout Mark Read Team Forum Stats Members Help
User-agent question0