fixed issues with third party family
This commit is contained in:
28
wookiee_dl/wookieepedia_family.py
Normal file
28
wookiee_dl/wookieepedia_family.py
Normal 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]
|
||||
Reference in New Issue
Block a user