I'm using wikitextparser v0.56.1 and stumbled upon the following issue:
import wikitextparser as wtp
parsed = wtp.parse(
"""
<ref>{{lien web|site=[http://kismac-ng.org/ le site officiel de KisMAC]|url=http://trac.kismac-ng.org/wiki/Downloads|titre=Downloads}}</ref>
<ref>{{lien web|url=http://www.kismac.de|titre=Germany says: Good-bye KisMAC!|auteur=Michael Rossberg}}</ref>.
"""
)
for link in parsed.external_links:
print(f"External link => 'url': {link.url}, 'text': {link.text}")
The url http://trac.kismac-ng.org/wiki/Downloads|title=Downloads, is incorrect. The correct url should be: http://trac.kismac-ng.org/wiki/Downloads.
The same goes for the url: http://www.kismac.de|titre=Germany
I'm using wikitextparser v0.56.1 and stumbled upon the following issue:
The url
http://trac.kismac-ng.org/wiki/Downloads|title=Downloads,
is incorrect. The correct url should be:http://trac.kismac-ng.org/wiki/Downloads
. The same goes for the url:http://www.kismac.de|titre=Germany
According to http://en.wikipedia.org/wiki/Help:Link in case of
[[a|b]]cd
text of this link is 'bcd'Wikitext comes from the wikipedia page KisMAC List of External Links of KisMAC