Are these enchantments to scrapers possible?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Buttink Offline
Senior Member
Posts: 158
Joined: Feb 2010
Reputation: 2
Post: #1
  • Group Same Day Episodes
  • Use Fallback Absoulte Ordering

Where "Group Same Day Episodes" will just assume that if two episodes are shown on the same day, then they are actually the same episode. (because of cartoons)

Code:
epcount = 0
currentep = 1
nextep = ep
while ( airdateEQ(currentep, ++nextep) )
    ;

epcount++
epdata = currentep to nextep-1 as epcount

"Use Fallback Absoulte Ordering" would simply find the season number if the absolute number didn't exist by this logic

Code:
S_x = 1
while ( S_x.last_ep > absoulte )
    absoulte -= S_x.last_ep
    S_x = S_x++

Season is S_x and Episode is absolute.

I thought that the scrapers would just be some python interface. But, I think you guys made a standardized xml. So, I have no idea if this is feasible or not.
find quote