mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-21 21:07:59 +01:00
Do not require overriding close in fetchers
This commit is contained in:
parent
e32cd958ef
commit
86b1c9740a
1 changed files with 1 additions and 4 deletions
|
@ -57,7 +57,7 @@ class Fetcher:
|
|||
"""
|
||||
Closes file descriptors and frees memory.
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
pass
|
||||
|
||||
def fetch(self, key):
|
||||
"""
|
||||
|
@ -115,9 +115,6 @@ class FimfictionFetcher(Fetcher):
|
|||
data_path = 'https://www.fimfiction.net/download_story.php'
|
||||
meta_path = 'https://www.fimfiction.net/api/story.php'
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
def get(self, url, **kwargs):
|
||||
"""
|
||||
Performs an HTTP GET request.
|
||||
|
|
Loading…
Reference in a new issue