wptools icon indicating copy to clipboard operation
wptools copied to clipboard

KeyError: 'info' with ".get()"

Open bnina-ayoub opened this issue 3 years ago • 1 comments

Each time i run page.get() i get this error, but when i run .get_query() or any other attribute it works fine.

Error Wptools

bnina-ayoub avatar Aug 15 '22 22:08 bnina-ayoub

Thanks for opening this issue @bnina-ayoub. I'm seeing this too. There has probably been a small change made to one of the Wikimedia APIs. We should handle KeyError here.

siznax avatar Aug 16 '22 02:08 siznax