A human item replaced with a redirect causes confusion.
This commit is contained in:
parent
b77ba57b74
commit
d0ddcc96eb
|
@ -39,6 +39,8 @@ def from_name(name):
|
|||
|
||||
found = []
|
||||
for entity in mediawiki.get_entities_with_cache(qids, props='labels|descriptions'):
|
||||
if 'redirects' in entity:
|
||||
continue
|
||||
qid = entity['id']
|
||||
item = lookup[qid]
|
||||
i = {
|
||||
|
|
Loading…
Reference in a new issue