Quote:
Originally Posted by JimmXinu
Something like that. It requires warning=3 for some stories and warning=4 and log-in for others.
|
I looked at tenhawkspresentscom.py. It looks like it has one regular warning and one warning for stories that need a registered user. I looked at the other sites that have adapters. Now I'm completely confused. From what I could tell, all the sites had at least one warning that needed the user to be registered when there was more than one warning.
ksarchive does not need the user to be registered. You only need to go through the javascript pop up for two different ratings.
I do not understand python at all and can't seem to get beyond editing the basic things like it is outlined in the castlefanorg.py. That is how I was able to get the lower rated stories to work before. Unfortunately, I have too many other things going on in my life at the moment and don't think I will be able to continue working on this.
I had tried to use
if "text from javascript" in data:
addurl= (the warning # depeneding on the text)
But it still didn't seem to be adding the warning to the url. I also was not sure where to put the lines as I ran into errors in both the data and url not being defined.
I do want an adapter for ksarchive.com. But I have no idea what I am doing. Unless someone else does one similar, I do not think I can continue.
- Jade Aislin