Okay, I just tried to insert the function, but I am not really sure, how to pass the arguments to the function and exactly what to pass and so on.
I tried it like this:
Code:
def is_link_wanted (self, url, tag):
tag = dict(name='a', attrs={'id':'jtoc-next'})
if tag:
return True
else:
return False
The code on the website looks like this:
The
bold element is the button for the next page, so the important part.
Sadly it doesn't work. So how should it look like? Do I have to insert the url also? But it will look different for every article...
I'm a bit uncertain now...
But thanks anyway