diff --git a/personal_data/fetchers/wanikani_lessons.py b/personal_data/fetchers/wanikani_lessons.py index fd11f79..bcd1726 100644 --- a/personal_data/fetchers/wanikani_lessons.py +++ b/personal_data/fetchers/wanikani_lessons.py @@ -1,12 +1,10 @@ import dataclasses -import datetime import logging from collections.abc import Iterator, Mapping -import requests +from personal_data.data import DeduplicateMode, Scraper from .. import secrets -from personal_data.data import DeduplicateMode, Scraper logger = logging.getLogger(__name__) @@ -34,4 +32,4 @@ class WaniKaniLessonsFetcher(Scraper): data_item = assignment['data'] print(data_item) yield data_item - url = json_resp.get("pages", {}).get("next_url") + url = json_resp.get('pages', {}).get('next_url')