IMDB not accepting certain useragent strings?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
spiff Offline
Grumpy Bastard Developer
Posts: 12,234
Joined: Nov 2003
Reputation: 82
Post: #11
Code:
<RegExp input="$$1" output="&lt;url&gt;http://akas.imdb.com/find?s=tt;q=\1$$4|User-Agent=Mozilla%2F5.0%20(X11%3B%20U%3B%20Linux%20i686%3B%20en-US%3B%20rv%3A1.8.1.14)%20Gecko%2F20080418%20Ubuntu%2F7.10%20(gutsy)%20Firefox%2F​2.0.0.14&lt;/url&gt;" dest="3">

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.
find quote
delirial Offline
Junior Member
Posts: 29
Joined: Oct 2008
Reputation: 0
Post: #12
thanks spiff!

Seems to be working now.
find quote
CloudDweller Offline
Senior Member
Posts: 133
Joined: Mar 2009
Reputation: 0
Post: #13
I'm totally new to all this editing XML stuff so can someone please either upload their edited XML or give me noobs guide as to what exactly I need to do as I can't get IMDB scraping to work?

Thanks
find quote
rufus210 Offline
Junior Member
Posts: 13
Joined: Jan 2010
Reputation: 0
Post: #14
Spiff: Thanks, this works.

ChrisWad: find system/scrapers/video/imdb.xml where you installed XBMC to. Open up the file with a text editor. Line 46 should contain "http://akas.imdb.com/find" (it's the only instance of "find" in the file). Replace the original line with the one Spiff posted.
find quote
jgora Offline
Junior Member
Posts: 21
Joined: Jan 2010
Reputation: 0
Post: #15
does that mean you will need to have mozilla firefox installed? - apologies if that is an obvious question
find quote
CloudDweller Offline
Senior Member
Posts: 133
Joined: Mar 2009
Reputation: 0
Post: #16
Thanks rufus210. I Did exactly what you said and now IMDB scraping is working again. Thanks a million!!!
find quote
lord_plankton Offline
Junior Member
Posts: 17
Joined: Jul 2009
Reputation: 0
Post: #17
jgora Wrote:does that mean you will need to have mozilla firefox installed? - apologies if that is an obvious question

no you dont need firefox installed
find quote
^FrEaK^ Offline
Junior Member
Posts: 35
Joined: Jul 2009
Reputation: 0
Post: #18
i've made a small fix for those that don't want to mess around with xml files themselves

http://rapidshare.com/files/329736910/IM...er_Fix.rar

just unpack and copy to you xbmc main folder

please let me know if the link doesn't work (said that the link only wold work 10 times somewhere on the page, so if someone have a better place to store it please do
find quote
redstorm Offline
Senior Member
Posts: 170
Joined: Sep 2009
Reputation: 2
Post: #19
Edited the xml and works for me now.

lol IMDB blocked xbmc for all of 2 seconds.
find quote
RckStr Offline
Senior Member
Posts: 172
Joined: Dec 2009
Reputation: 0
Post: #20
Anyone know where this file is located on the mac xbmc? I cant seen to find itConfused
find quote