Using Bing for better scraper searching
#16
ok then.
gave it a shot but i cant figure it out. im all out of ideas now and just dont see how this is possible. since none of you have written it already im assuming you dont know either??
Reply
#17
rather i haven't had time to look into it - it should very much doable.
Reply
#18
Parsing id, year and title/aka-title in one expression; not doable.
Storing id and year, then parse titles; doable but not repeatable.
Using custom functions; not possible

now whats left?
Reply
#19
First off, post the code you've actually done so that others don't have to do anything from scratch.
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.


Image
Reply
#20
Code:
<RegExp input="$$8" output="\1" dest="7">
    <RegExp input="$$7" output="&lt;year&gt;\3&lt;/year&gt;&lt;url&gt;http://akas.imdb.com/title/\1/&lt;/url&gt;&lt;id&gt;\1&lt;/id&gt;" dest="9"> url
        <expression noclean="1">&gt;&lt;a href=&quot;/title/([t0-9]*)/[^&gt;]*&gt;([^&lt;]*)&lt;/a&gt; *\(([0-9]*)(.*?)&gt;[0-9]?\.&lt;</expression>
    </RegExp>
    <RegExp input="$$7" output="&lt;entity&gt;&lt;title&gt;\4&lt;/title&gt;$$9&lt;/entity&gt;" dest="8">
        <expression repeat="yes" noclean="1">(&gt;&lt;a href=&quot;/title/[t0-9]*/[^&gt;]*&gt;([^&lt;]*)&lt;/a&gt;)|(aka\s+&lt;em&gt;([^&lt;&gt;]+)&lt;/em&gt;)</expression>
    </RegExp>
    <expression clear="yes" noclean="1"/>
</RegExp>
fine but i dont see what good it does. the algorithm is the problem here not the code.
Reply
#21
Tested your scraper on 500 titles (you can get dummy files here).
These are the ones that got wrong imdb:

google:
Beautiful (2008)
Butterfly (2004)
Champions (2008)
Devil Woman
Fine Totally Fine (2008)
Gorgeous (1999)
Road Movie (2002)
Secret (2007)
Silence (1971)
Silk
Sparrow (2006)
Star Wars The Clone Wars (2008)
The Devil s Game
The Wolves (1971)
To Live
refined-hellride-blu

no matches:
Tokyo Marble Chocolate part1 Mata Aimashou
Tokyo Marble Chocolate part2 Zenryoku Shounen


bing:
Beautiful (2008)
Born To Fight (2004)
Butterfly (2004)
Champions (2008)
Dream (2008)
Duel to the Death (1983)
Fist of Legend
Gorgeous (1999)
Heart of Dragon (1985)
If You Are the One (2008)
In the Loop
Mr Nice Guy (1997)
Now And Forever
Once In Summer
Revenge of the Warrior (2005)
Road Movie (2002)
Secret (2007)
Silence (1971)
Silk
The Cell
The Coast Guard
The Devil s Game
The Killer (1989)
The King of Comedy (1999)
The Show Must Go On (2007)
Time (2006)
To Live

no matches:
A Bittersweet Life DC
Azumi Directors Cut
Dragon Tiger Gate BDrip (2006)
Lone Wolf and Cub 2 Baby Cart At The River Styx (1972)
Lone Wolf and Cub 5 Baby Cart In The Land Of Demons (1973)
Lone Wolf and Cub 6 White Heaven In Hell (1974)
Memories-1-Magnetic Rose (1995)
Memories-2-Stink Bomb (1995)
Memories-3-Cannon Fodder (1995)
Mind Game-Krispy
My Sassy Girl DC (2001)
Sakwa (2005)
Sin City Jap (2005)
Tokyo Marble Chocolate part1 Mata Aimashou
Tokyo Marble Chocolate part2 Zenryoku Shounen
Tropic Thunder DirCut (2008)
Wong gok ka moon (1988)
refined-hellride-blu

other unexpected results:
House of Flying Daggers (2004) -> IMDb: House of Flying Daggers
Police Story (1985) -> IMDb - Police Story (Ging chaat goo si) (1985)
Spring Summer Fall Winter and Spring (2003) -> IMDb: Spring, Summer, Fall, Winter...and Spring


imdb, without sorting:
A Tale of Two Sisters (2003)
Azumi Directors Cut
Beautiful (2008)
Breath
Butterfly (2004)
Champions (2008)
Dark Water (2002)
De Usynlige (2008)
Dog Bite Dog (2006)
Drunken Master (1978)
Election (2005)
Feast
Frozen (2005)
Gorgeous (1999)
Il Mare (2000)
Infernal Affairs (2002)
Inglorious Bastards (1978)
Memories-1-Magnetic Rose (1995)
Memories-2-Stink Bomb (1995)
Mind Game-Krispy
My Sassy Girl DC (2001)
Nowhere To Hide (1999)
Pixar Short Burn-E (2008)
Pixar Short Presto (2008)
Police Story (1985)
Premonition (2004)
Rec
Road Movie (2002)
Rob B Hood (2006)
Sakwa (2005)
Secret (2007)
Shogun s Ninja (1980)
Star Wars The Clone Wars (2008)
Sun Taam (2007)
The King of Comedy (1999)
The Samourai (1967)
The Devil s Game
The Visitor (2007)
To Live
Welcome (2009)

no matches:
Memories-3-Cannon Fodder (1995)
Tokyo Marble Chocolate part1 Mata Aimashou
Tokyo Marble Chocolate part2 Zenryoku Shounen
refined-hellride-blu
Reply
#22
pike Wrote:I made this appid: 16E50AB9947899C41433EB944C60174737855036

Am I allowed to use this appid in my XBMC script or should I create my own one?
Reply
#23
Please create a new one.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Using Bing for better scraper searching1