Rename class

This commit is contained in:
Serene-Arc
2022-07-15 15:05:07 +10:00
parent 4f876eecbc
commit 7d4eb47643
4 changed files with 9 additions and 9 deletions

View File

@@ -17,8 +17,8 @@ from bdfr.site_downloaders.pornhub import PornHub
from bdfr.site_downloaders.redgifs import Redgifs
from bdfr.site_downloaders.self_post import SelfPost
from bdfr.site_downloaders.vidble import Vidble
from bdfr.site_downloaders.vreddit import VReddit
from bdfr.site_downloaders.youtube import Youtube
from bdfr.site_downloaders.vreddit import Vreddit
class DownloadFactory:
@@ -49,7 +49,7 @@ class DownloadFactory:
elif re.match(r'i\.redd\.it.*', sanitised_url):
return Direct
elif re.match(r'v\.redd\.it.*', sanitised_url):
return Vreddit
return VReddit
elif re.match(r'pornhub\.com.*', sanitised_url):
return PornHub
elif re.match(r'vidble\.com', sanitised_url):

View File

@@ -16,7 +16,7 @@ from bdfr.site_downloaders.base_downloader import BaseDownloader
logger = logging.getLogger(__name__)
class Vreddit(BaseDownloader):
class VReddit(BaseDownloader):
def __init__(self, post: Submission):
super().__init__(post)