2018-01-07, 03:43
(2018-01-07, 03:31)redglory Wrote: Hey Dan,Looks like they change the information depending on the country you access from. I've never see a german title on the reference page. I will try to add an addition check if the node <span class="titlereference-original-title-label"> is present to use that. But for now is time to sleep, it's 02:45 :O
Firs of all thanks a lot for your efforts!
Can you fix OriginalTitle scrapping?
Seems like the text for original title is outside h3 tag:
Code:<h3 itemprop="name"> Haverá Sangue <span class="titlereference-title-year"> (<a href="/search/title?year=2007&ref_=tt_rv" itemprop='url'>2007</a>) </span> </h3> There Will Be Blood <span class="titlereference-original-title-label"> (original title)</span>
This is an example for http://www.imdb.com/title/tt0469494/reference
Checking IMDB scraper:
Code:Dim ndOriginalTitle = htmldReference.DocumentNode.SelectSingleNode("//h3[@itemprop=""name""]/text()")
Thanks in advance