[RELEASE] KinoPoisk2 (Russian Movies) Scraper

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
TigerHeart Offline
Junior Member
Posts: 11
Joined: Feb 2009
Reputation: 0
Thumbs Up   
Post: #16
hamp Wrote:Вот попробуйте этот - Если работает, то пишите сюда. [attach]86[/attach]

Ух-ты! Работает! Спасибо!!!

Упс! Рано обрадовался. Теперь название фильма находит правильно, но когда открываешь "Информацию о фильме", то никакой информацмм по этому фильму нету. А вместо названия фильма только одна строка "Кинопоиск.ru - Все фильмы планеты". Может меня просто забанили на самом КиноПоиске?
(This post was last modified: 2009-05-15 14:37 by TigerHeart.)
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #17
Вот вот, я о том же!
find
althekiller Offline
Retired Team-Kodi Member
Posts: 5,002
Joined: May 2004
Reputation: 12
Post: #18
Please keep discussion in the XBMC forums in English, thanks.
find
GooglieS Offline
Junior Member
Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #19
Does not working... XBMS hangs for a while, when fetching film info.
find
kerber Offline
Junior Member
Posts: 3
Joined: May 2009
Reputation: 0
Post: #20
Hi all.
Sorry for my bad English ))))
Eng: Can a scrapper send a useragent message?
e.g.
Code:
request.UserAgent = "Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)";
request.Accept = "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
When in MediaPortal there was a similar problem, it has dared transfer kinopoisk UserAgent.

Rus:Кто нибудь знает, можно ли в скрапере передавать UserAgent. Когда в MediaPortal'e была подобная проблема, он решилась обманом кинопоиска, передаче ему юзерагента.
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #21
kerber Wrote:hi all.
Sorry for my bad english ))))
eng: Can a scrapper send a useragent message?
E.g.
Code:
request.useragent = "mozilla/5.0 (windows; u; msie 7.0; windows nt 6.0; en-us)";
request.accept = "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
when in mediaportal there was a similar problem, it has dared transfer kinopoisk useragent.

Rus:Кто нибудь знает, можно ли в скрапере передавать useragent. Когда в mediaportal'e была подобная проблема, он решилась обманом кинопоиска, передаче ему юзерагента.

Я бы мог попробовать, но незнаю куда этот код вставлять...
find
mkortstiege Offline
Team-XBMC Developer
Posts: 2,920
Joined: Jan 2008
Reputation: 8
Location: Germany
Post: #22
English please.

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
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #23
uhm, what's that about user agent? i stopped reading this thread pages back. if you want our attention

1) stick to the forum rules - english only
2) stay out of the dev forum unless you have something to contribute
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #24
spiff Wrote:uhm, what's that about user agent? i stopped reading this thread pages back. if you want our attention

1) stick to the forum rules - english only
2) stay out of the dev forum unless you have something to contribute

Help...)
find
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #25
with what?
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Smile   
Post: #26
Can a scrapper send a useragent message?
Code:
request.useragent = "mozilla/5.0 (windows; u; msie 7.0; windows nt 6.0; en-us)";
request.accept = "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
find
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #27
hmm, currently not. but it seems like something i would consider adding. ticket please
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #28
Sorry, no time for ticket. Help.
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #29
What are the differences version 8.10 and version 9 of the suorce Scraper?
http://trac.xbmc.org/browser/branches/8....Parser.cpp
http://trac.xbmc.org/browser/branches/9....Parser.cpp
http://trac.xbmc.org/browser/branches/8....perUrl.cpp
http://trac.xbmc.org/browser/branches/9....perUrl.cpp
(This post was last modified: 2009-06-11 18:48 by hamp.)
find
hamp Offline
Member
Posts: 58
Joined: Jul 2008
Reputation: 0
Post: #30
Work/ Wait for test. Uploaded later.
//Заработало. Скоро выложу. Оказалось - ошибка было в коде скрапера.
find