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

@@ -3,8 +3,9 @@ import os
import click
import mediawiki
from pywikibot import FilePage, Page, Site
from wookiee_dl.wookieepedia_family import Family as WookieepediaFamily
site = Site("en", "wookieepedia")
site = Site("en", fam=WookieepediaFamily())
site_mw = mediawiki.MediaWiki("https://starwars.fandom.com/api.php")