Quote:
Originally Posted by kovidgoyal
Override the article_downloaded method. Just call the base class method first and then do watever is needed.
|
I am returning to this after a bit of time. had a look at the
documentation but couldn't find the signature etc for the article_downloaded method.
What i need to do is: Override article_downloaded(<params???>) and
- call the base article_downloaded()
- For each entry in each feed (//feed/entry) -
- Get the ID of the entry from the XML (soup?) (//feed/entry/id)
- POST to an API url to mark it as read with the cookie and token fetched in get_browser() [with the same browser instance?]
is article_downloaded() called once or once per feed or once per entry?
also how to I write to the log so I can do some debugging etc..
sorry if I am frustrating u. I dont really know python and just read an overview of the syntax. thanks in advance