-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Television.show and Newspaper.article to Content. Implement TMDB and DW sources and make them available as Bot.tmdb and dw. Add [tmdb] key to configuration. Introduce feedparser dependency. Also add integration test target to Makefile. Close #12.
- Loading branch information
1 parent
5175925
commit 92e71f4
Showing
11 changed files
with
270 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from datetime import datetime | ||
from time import struct_time | ||
from typing import BinaryIO, TextIO | ||
from urllib.request import BaseHandler | ||
|
||
def parse( | ||
url_file_stream_or_string: str | bytes | TextIO | BinaryIO, etag: str | None = ..., | ||
modified: str | datetime | struct_time | None = ..., agent: str | None = ..., | ||
referrer: str | None = ..., handlers: list[BaseHandler] | None = ..., | ||
request_headers: dict[str, str] | None = ..., response_headers: dict[str, str] | None = ..., | ||
resolve_relative_uris: bool | None = ..., | ||
sanitize_html: bool | None = ...) -> dict[str, object]: ... | ||
|
||
class ThingsNobodyCaresAboutButMe(Exception): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,7 @@ debug = false | |
[telegram] | ||
# Telegram messenger API key | ||
key = | ||
|
||
[tmdb] | ||
# TMDB API v4 key | ||
key = |
Oops, something went wrong.