83f45e7f60
Standardizes shebang and coding declarations. Coding matches what's used by install tools such as pip(x). Removes a few init files that were not needed.
15 lines
395 B
Python
15 lines
395 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
from bdfr.site_downloaders.base_downloader import BaseDownloader
|
|
|
|
|
|
class BaseFallbackDownloader(BaseDownloader, ABC):
|
|
@staticmethod
|
|
@abstractmethod
|
|
def can_handle_link(url: str) -> bool:
|
|
"""Returns whether the fallback downloader can download this link"""
|
|
raise NotImplementedError
|