Skip to content

Commit f68b51a

Browse files
committed
Updated. html_parsing/rutube
1 parent 0c01c53 commit f68b51a

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

html_parsing/rutube/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
@dataclass
2020
class Video:
21+
id: str
2122
title: str
2223
url: str
2324

html_parsing/rutube/get_videos_from_channel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def _get_video_list(channel_videos_data: dict[str, Any]) -> list[Video]:
6767

6868
return [
6969
Video(
70+
id=obj["id"],
7071
title=obj["title"],
7172
url=obj["video_url"],
7273
)

html_parsing/rutube/get_videos_from_playlist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def _get_video_list(
6767

6868
return [
6969
Video(
70+
id=obj["id"],
7071
title=obj["title"],
7172
url=merge_url_params(
7273
obj["video_url"],

0 commit comments

Comments
 (0)