mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-13 13:48:28 +03:00
media concept implemented
This commit is contained in:
17
src/media.py
Normal file
17
src/media.py
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
from __future__ import annotations
|
||||
from ast import List
|
||||
from typing import Any, Union, Dict
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
import json
|
||||
|
||||
|
||||
@dataclass
|
||||
class Media:
|
||||
filename: str
|
||||
id: str = None
|
||||
hash: str = None
|
||||
cdn_url: str = None
|
||||
hash: str = None
|
||||
|
||||
Reference in New Issue
Block a user