2013-04-12, 11:12
hmm...when creating a scraper, is there only one input buffer $$1 with filename ? I would like to get full movie path, or at least the parent folder's name. Is this possible ?
wiki Wrote:conditonal="<condition>": A condition that must resolve to TRUE for the particular RegExp to be run. Currently the only available condition is "override", which is set based on the Language Override setting in the scraper.Would I be right in guessing that this corresponds to the "keeporiginaltitle" setting defined in resources/settings.xml ?
wiki Wrote:$$x where x= 1 to 9: Variable x holds the content of the URL specified in the <url> tag number x in GetSearchResults.
(2013-04-17, 09:06)budswell Wrote: - It also appears that the year is passed in to getSearchUrl as $$2Correct.
(2013-04-17, 09:06)budswell Wrote: Looking at themoviedb scraperYes, $INFO[...] will be replaced throughout the scraper by the value used in the settings. Similarly, conditional="..." can refer to any boolean setting.
- there appears to be an array variable called $INFO (where it gets language from)
- There are conditonal="keeporiginaltitle" but the wiki says:
wiki Wrote:conditonal="<condition>": A condition that must resolve to TRUE for the particular RegExp to be run. Currently the only available condition is "override", which is set based on the Language Override setting in the scraper.Would I be right in guessing that this corresponds to the "keeporiginaltitle" setting defined in resources/settings.xml ?
(2013-04-17, 09:06)budswell Wrote: In my own testing it appears that the URL of the selected movie page is passed in to getDetails as $$3. This also contradicts the wiki which says:This gets a little trickier (and my knowledge a lot shakier), because you can also specify extra tags in the search results, such as <id> (but not the <title> or <year>) which will also get passed to getDetails, and then I'm guessing the URL(s) come after them.
wiki Wrote:$$x where x= 1 to 9: Variable x holds the content of the URL specified in the <url> tag number x in GetSearchResults.