Hi,

I have a little problem using pywikibot with wikidata…… I’m setting a unit like:
wikibase_unit = pywikibot.ItemPage(wikibase_repo, id)
target = pywikibot.WbQuantity(amount=wikidata_amount, unit=wikibase_unit,       
                       site=wikibase_repo, error = Decimal(wikidata_upperBound) 
- Decimal(wikidata_amount))
The problem is the URL of wikibase_unit. It is http://localhost:8181 
<http://localhost:8181/> instead of the public URL. The public URL is specified 
when I create the wikibase_repo in the family file.
Any clue? Can someone help?
Merci
D063520
_______________________________________________
pywikibot mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot

Reply via email to