-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathsettings.ini
More file actions
93 lines (83 loc) · 2.25 KB
/
Copy pathsettings.ini
File metadata and controls
93 lines (83 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[Settings]
save_directory = reddit/
dropbox_directory = /reddit
save_type = ALL
check_type = LOG
unsave_after_download = false
process_gdpr = false
process_api = true
ignore_tls_errors = false
[Configuration]
client_id = None
client_secret = None
username = None
password = None
# Media Download Feature Flags
[Media]
# Enable media downloads (images, videos, audio)
download_enabled = true
download_images = true
download_videos = true
download_audio = true
# Image processing settings
thumbnail_size = 800
max_image_size = 5242880
create_thumbnails = true
# Video settings
video_quality = high
max_video_size = 209715200
# Album settings
download_albums = true
max_album_images = 50
# Performance and resource limits
max_concurrent_downloads = 10
download_timeout = 30
max_daily_storage_mb = 1024
# Imgur API Configuration
[Imgur]
# Optional: Comma-separated client IDs for rate limit rotation
client_ids = None
# Whether to attempt recovery of deleted content
recover_deleted = true
# Content Recovery Settings
[Recovery]
# Recovery methods for deleted/unavailable content
use_wayback_machine = true
use_arctic_shift = true
use_pushshift_api = true
use_reddit_previews = false
use_reveddit_api = false
# Timeout for recovery attempts in seconds
timeout_seconds = 10
cache_duration_hours = 24
# Cache size management
max_cache_entries = 10000
max_cache_size_mb = 100
# Cleanup intervals
cleanup_interval_minutes = 60
enable_background_cleanup = true
# Retry Queue Configuration
[Retry]
# Maximum retry attempts for failed downloads
max_retries = 5
# Base retry delay in seconds for different priorities (high=1, medium=2, low=3)
base_retry_delay_high = 5
base_retry_delay_medium = 10
base_retry_delay_low = 15
# Exponential backoff base delay in seconds
exponential_base_delay = 60
# Maximum retry delay in seconds (24 hours)
max_retry_delay = 86400
# Dead letter queue threshold in days
dead_letter_threshold_days = 7
# Cloud Storage Backend
[Storage]
# Provider: none, dropbox, s3
provider = none
# S3 settings (ignored when provider != s3)
s3_bucket = None
s3_region = None
# Storage class: STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER_IR, GLACIER, DEEP_ARCHIVE
s3_storage_class = STANDARD_IA
# Custom S3 endpoint (for MinIO, LocalStack, etc.)
s3_endpoint_url = None