"labelenum" type in Scraper Settings

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
seedzero Offline
Fan
Posts: 552
Joined: Mar 2009
Reputation: 0
Post: #1
Okay I've been playing around with the labelenum type and it appears to me that it can't be used for conditionals, only $INFO[] type vars within the scraper. Is this correct or am I missing something?
The reason I am asking is Rotten Tomatoes has three types of ratings (default, cream of the crop and community ratings) and I would like to add the ability to select which one to scrape. It doesn't make much sense to have three separate Boolean values, especially as you then induce the possibility of overwriting if more than one Boolean value is true.

Thanks.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
correct, not possible atm. can be faked with relative ease though.stuff the value in your input buffer and require it at the start of the input for the relevant expression to match.
find quote
seedzero Offline
Fan
Posts: 552
Joined: Mar 2009
Reputation: 0
Post: #3
spiff Wrote:correct, not possible atm. can be faked with relative ease though.stuff the value in your input buffer and require it at the start of the input for the relevant expression to match.

Thanks for the workaround, I'll give that a shot.
find quote