Yes, these will trigger if found; what I could do is add another check by looking forSummer 2017 - https://static.chickensmoothie.com/pic. ... 680B578640
Summer 2016 - https://static.chickensmoothie.com/tran ... O6Ac8_tGqg
- Code: Select all
id="petimg"
02:57 PM:This is added, as long as the banner doesn't have the HTML tag (id="petimg") it will work during events
This is also another optionThe banners don't show up outside of events, though. So maybe the program can just be run outside of events if you don't want to add additional checks to the program.
Correct, deleted pet pages do not contain the strings the program is searching for, so the page is ignoredI assume that the deleted pets are identified by process of elimination (having none of those string constants on the page)?
This can be probably be done, I can create a Date class to store the month, day, year and compare them.I'm not sure how much this suggestion will help, but maybe you can narrow down the key/legend of pet types of compare against based on a pet's adoption date*? For example, if the pet was adopted in March 2009, then you don't have to compare it against July 2008 pet types like the Sunjewel, Moonswirl, etc. right?** (Exact boundaries might be difficult to determine, especially for 2008 pets, and you'll have to be comparing to basically the full list for any December 18 pet as well as some December 19, 2009 and December 24, 2011 and December 25, 2011 pets, but still)