<filename>src/crawler/media/ctv.py
# encoding=utf-8
# Author: <NAME>
# Description: Get news

import logging

from bs4 import BeautifulSoup

from src.crawler.media.base import BaseMediaNewsCrawler
from src.utils.struct import NewsStruct

logger = logging.getLogger(__name__)


class CTVNewsCrawler(BaseMediaNewsCrawler):
    """Web Crawler for CTV News"""

    MEDIA_CANDIDATES = ["中視新聞"]

    def getInfo(self, link: str) -> NewsStruct:
        raise NotImplementedError

    def _get_content(
        self,
        soup: BeautifulSoup,
    ) -> str:

        raise NotImplementedError

<filename>src/crawler/media/ctv.py
# encoding=utf-8
# Author: <NAME>
# Description: Get news

import logging

from bs4 import BeautifulSoup

from src.crawler.media.base import BaseMediaNewsCrawler
from src.utils.struct import NewsStruct

logger = logging.getLogger(__name__)


class CTVNewsCrawler(BaseMediaNewsCrawler):
    """Web Crawler for CTV News"""

    MEDIA_CANDIDATES = ["中視新聞"]

    def getInfo(self, link: str) -> NewsStruct:
        raise NotImplementedError

    def _get_content(
        self,
        soup: BeautifulSoup,
    ) -> str:

        raise NotImplementedError

# encoding=utf-8 # Author: <NAME> # Description: Get news Web Crawler for CTV News