fixed issues with third party family

This commit is contained in:
2022-10-25 12:47:07 -05:00
parent 0a3759dbf3
commit b057f1e77b
4 changed files with 35 additions and 5 deletions

View File

@@ -0,0 +1,28 @@
"""
This family file was auto-generated by generate_family_file.py script.
Configuration parameters:
url = https://starwars.fandom.com/wiki/Main_Page
name = wookieepedia
Please do not commit this to the Git repository!
"""
from pywikibot import family
class Family(family.Family): # noqa: D101
name = "wookieepedia"
langs = {
"en": "starwars.fandom.com",
}
def scriptpath(self, code):
return {
"en": "",
}[code]
def protocol(self, code):
return {
"en": "https",
}[code]