Remove GifDeliveryNetwork module

This commit is contained in:
Serene-Arc
2021-04-28 18:58:33 +10:00
committed by Serene
parent 9931839d14
commit 39935c58d9
3 changed files with 6 additions and 58 deletions

View File

@@ -1,21 +0,0 @@
#!/usr/bin/env python3
from typing import Optional
from praw.models import Submission
from bdfr.resource import Resource
from bdfr.site_authenticator import SiteAuthenticator
from bdfr.site_downloaders.redgifs import Redgifs
class GifDeliveryNetwork(Redgifs):
def __init__(self, post: Submission):
super().__init__(post)
def find_resources(self, authenticator: Optional[SiteAuthenticator] = None) -> list[Resource]:
return super(GifDeliveryNetwork, self).find_resources(authenticator)
@staticmethod
def _get_link(url: str) -> str:
return super(GifDeliveryNetwork, GifDeliveryNetwork)._get_link(url)