forked from immisterio/Lampac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppInit.cs
130 lines (69 loc) · 4.58 KB
/
AppInit.cs
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
using Lampac.Models.SISI;
using Lampac.Models.JAC;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System.IO;
using Lampac.Models.LITE.VideoCDN;
using Lampac.Models.LITE.Filmix;
using Lampac.Models.LITE;
using Lampac.Models.LITE.HDVB;
namespace Lampac
{
public class AppInit
{
public static AppInit conf = JsonConvert.DeserializeObject<AppInit>(File.ReadAllText("init.conf"));
public static string Host(HttpContext httpContext) => $"http://{httpContext.Request.Host.Value}";
public int listenport = 9118;
public int timeoutSeconds = 6;
public string cachetype = "file";
public int htmlCacheToMinutes = 1;
public int fileCacheInactiveDay = 20;
public int magnetCacheToMinutes = 2;
public bool emptycache = false;
public string apikey = null;
public string ffprobe = "linux";
public bool autoupdatelampahtml = true;
public bool disableserverproxy = false;
public bool multiaccess = false;
public TrackerSettings Rutor = new TrackerSettings("http://rutor.info");
public TrackerSettings Megapeer = new TrackerSettings("http://megapeer.vip");
public TrackerSettings TorrentBy = new TrackerSettings("http://torrent.by");
public TrackerSettings Kinozal = new TrackerSettings("http://kinozal.tv");
public TrackerSettings NNMClub = new TrackerSettings("https://nnmclub.to");
public TrackerSettings Bitru = new TrackerSettings("https://bitru.org");
public TrackerSettings Toloka = new TrackerSettings("https://toloka.to", enable: false);
public TrackerSettings Rutracker = new TrackerSettings("https://rutracker.net", enable: false);
public TrackerSettings Underverse = new TrackerSettings("https://underver.se", enable: false);
public TrackerSettings Selezen = new TrackerSettings("https://selezen.net", enable: false);
public TrackerSettings Anilibria = new TrackerSettings("https://www.anilibria.tv");
public TrackerSettings Animelayer = new TrackerSettings("http://animelayer.ru", enable: false);
public bool xdb = false;
public SisiSettings BongaCams = new SisiSettings("https://rt.bongacams.com");
public SisiSettings Chaturbate = new SisiSettings("https://chaturbate.com");
public SisiSettings Ebalovo = new SisiSettings("https://www.ebalovo.pro");
public SisiSettings Eporner = new SisiSettings("https://www.eporner.com");
public SisiSettings HQporner = new SisiSettings("https://hqporner.com");
public SisiSettings Porntrex = new SisiSettings("https://www.porntrex.com");
public SisiSettings Spankbang = new SisiSettings("https://ru.spankbang.com");
public SisiSettings Xhamster = new SisiSettings("https://ru.xhamster.com");
public SisiSettings Xnxx = new SisiSettings("https://www.xnxx.com");
public SisiSettings Xvideos = new SisiSettings("https://www.xvideos.com");
public OnlinesSettings Kinobase = new OnlinesSettings("https://kinobase.org");
public OnlinesSettings Rezka = new OnlinesSettings("https://voidboost.net");
public OnlinesSettings Collaps = new OnlinesSettings("https://api.delivembd.ws");
public OnlinesSettings Ashdi = new OnlinesSettings("https://base.ashdi.vip");
public OnlinesSettings Eneyida = new OnlinesSettings("https://eneyida.tv");
public OnlinesSettings Kinokrad = new OnlinesSettings("https://kinokrad.cc");
public OnlinesSettings Kinotochka = new OnlinesSettings("https://kinotochka.co");
public OnlinesSettings Lostfilmhd = new OnlinesSettings("http://www.lostfilmhd.ru");
public FilmixSettings Filmix = new FilmixSettings("http://filmixapp.cyou");
public VCDNSettings VCDN = new VCDNSettings("https://videocdn.tv", "3i40G5TSECmLF77oAqnEgbx61ZWaOYaE", "http://58.svetacdn.in", false);
public OnlinesSettings VideoAPI = new OnlinesSettings("http://5100.svetacdn.in", token: "qR0taraBKvEZULgjoIRj69AJ7O6Pgl9O");
public IframeVideoSettings IframeVideo = new IframeVideoSettings("https://iframe.video");
public HDVBSettings HDVB = new HDVBSettings("https://apivb.info", "");
public BazonSettings Bazon = new BazonSettings("https://bazon.cc", "", true);
public AllohaSettings Alloha = new AllohaSettings("https://api.alloha.tv", "https://torso.as.alloeclub.com", "", "", true);
public KodikSettings Kodik = new KodikSettings("https://kodikapi.com", "http://kodik.biz", "", "", true);
public ProxySettings proxy = new ProxySettings();
}
}