Rename file and class

This commit is contained in:
Serene-Arc
2021-02-26 18:57:05 +10:00
committed by Ali Parlakci
parent 3bc305c037
commit 0973e1e451
13 changed files with 25 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ from typing import Optional
from bs4 import BeautifulSoup
from praw.models import Submission
from bulkredditdownloader.authenticator import Authenticator
from bulkredditdownloader.site_authenticator import SiteAuthenticator
from bulkredditdownloader.errors import NotADownloadableLinkError
from bulkredditdownloader.resource import Resource
from bulkredditdownloader.site_downloaders.gif_delivery_network import GifDeliveryNetwork
@@ -17,7 +17,7 @@ class Redgifs(GifDeliveryNetwork):
def __init__(self, post: Submission):
super().__init__(post)
def find_resources(self, authenticator: Optional[Authenticator] = None) -> list[Resource]:
def find_resources(self, authenticator: Optional[SiteAuthenticator] = None) -> list[Resource]:
return super().find_resources(authenticator)
@staticmethod