https://bugzilla.wikimedia.org/show_bug.cgi?id=60381
Merlijn van Deen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Return of the |Page with empty title |AttributeError: 'Page' |raises "AttributeError: |object has no attribute |'Page' object has no |'_isredir' |attribute '_isredir'" on | |.get() Ever confirmed|0 |1 --- Comment #2 from Merlijn van Deen <[email protected]> --- >>> page = pywikibot.Page(site) I think this should raise an exception, as it creates a Page object without title: >>> page Page() On the other hand, it's equivalent to >>> page = pywikibot.Page(site, '') which should be the main page. In any case, the correct way to do what you want is ] >>> page = pywikibot.Page(site, "Cat") >>> page.get() -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Pywikipedia-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs
