View Single Post
Old 07-17-2017, 02:03 PM   #1
julio:map
Member
julio:map began at the beginning.
 
Posts: 23
Karma: 12
Join Date: Jul 2011
Device: Cool-er
Pocket recipe stopped working?

Since a few days ago, my pocket recipe has stopped working.

I see some comments in the get_textview function definition:
"This function will break when pocket hates us"
I'm afraid, it has started to hate us now ;-)

I follow the function, and see a first lookup of a page...
soup = self.index_to_soup(url)

But the page returned (which I have seen "prettified"), seems as if the browser from which it is taken was not logged in...
And thus...
fc_tag = soup.find('script', text=re.compile("formCheck"))
...returns None, because the browser it is taken from is not logged in...
...and the rest of the recipe fails.

When I try to get on my Firefox browser the exact same URL, it returns a page with a formCheck inside a script. (so the recipe is well constructed, but not logged in at this point).

Can somebody help?
julio:map is offline   Reply With Quote