Quote:
Originally Posted by ugosan
I have modified the script because it was giving me "IndexError: no such group", but now it works fine
|
It depends of the search string you've used. In the one I wrote for Chouette:
class="noteref">\K(\d+)(</a>)
there were 2 capturing groups: group(1) -> (\d+) and group(2) -> (</a>)
You probably put a different string with only one capturing group, so you correctly adapted the code of the function.
Quote:
Originally Posted by ugosan
Thank you very much for your support.
|
Most welcome :-).