Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
immisterio committed Nov 23, 2023
1 parent 61cbbe7 commit 2d4d7a7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion JacRed/Models/AppConf/Evercache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ public class Evercache
{
public bool enable = false;

public int validHour = 240;
public int validHour = 5;
}
}
2 changes: 1 addition & 1 deletion Online/Controllers/Kinotochka.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async public Task<ActionResult> Index(long kinopoisk_id, string title, int year,
var proxy = proxyManager.Get();

// enable 720p
string cookie = AppInit.conf.Kinotochka.cookie ?? "PHPSESSID=i9g8i9lr3j8d5tsrrm5bg4ush7; _ga=GA1.1.1814511493.1698667196; cf_clearance=bBUeH48bPNG6ilgXkfKc0DdVNWW9hEnn0l8wC9xHBKU-1698670014-0-1-ecb48842.7f2ed8fe.bbb5d7a2-150.0.0; dle_user_id=476720; dle_password=8842d3a884231414bdca85a8b9c00a0b; dle_newpm=0; _ga_6EPB4E046E=GS1.1.1698670015.2.1.1698670096.0.0.0";
string cookie = AppInit.conf.Kinotochka.cookie;

bool firstjson = true;
string html = "<div class=\"videos__line\">";
Expand Down
2 changes: 1 addition & 1 deletion SISI/Controllers/Porntrex/ListController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async public Task<JsonResult> Index(string search, string sort, string c, int pg
memoryCache.Set(memKey, playlists, DateTime.Now.AddMinutes(AppInit.conf.multiaccess ? 10 : 2));
}

return OnResult(playlists, string.IsNullOrEmpty(search) ? PorntrexTo.Menu(host, sort, c) : null, headers: new List<(string name, string val)> { ("referer", AppInit.conf.Porntrex.host) });
return OnResult(playlists, string.IsNullOrEmpty(search) ? PorntrexTo.Menu(host, sort, c) : null, headers: new List<(string name, string val)> { ("referer", $"{AppInit.conf.Porntrex.host}/") });
}
}
}
2 changes: 1 addition & 1 deletion Shared.Engine/SISI/PorntrexTo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static List<PlaylistItem> Playlist(string uri, string html, Func<Playlist
{
string quality = Regex.Match(row, "<span class=\"quality\">([^<]+)</span>").Groups[1].Value;
string duration = Regex.Match(row, "<i class=\"fa fa-clock-o\"></i>([^<]+)</div>").Groups[1].Value.Trim();
var img = Regex.Match(row, "data-src=\"(https?:)?//((statics.cdntrex.com/contents/videos_screenshots/[0-9]+/[0-9]+)[^\"]+)").Groups;
var img = Regex.Match(row, "data-src=\"(https?:)?//(((ptx|statics)\\.cdntrex\\.com/contents/videos_screenshots/[0-9]+/[0-9]+)[^\"]+)").Groups;

var pl = new PlaylistItem()
{
Expand Down
2 changes: 1 addition & 1 deletion Shared.Model/AppInit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class AppInit
/// </summary>
public OnlinesSettings Kinokrad { get; set; } = new OnlinesSettings("https://kinokrad.cc", streamproxy: true, enable: false);

public OnlinesSettings Kinotochka { get; set; } = new OnlinesSettings("https://kinotochka.co", streamproxy: true);
public OnlinesSettings Kinotochka { get; set; } = new OnlinesSettings("https://kinovibe.tv", streamproxy: true);

public OnlinesSettings Redheadsound { get; set; } = new OnlinesSettings("https://redheadsound.studio", streamproxy: true);

Expand Down
2 changes: 1 addition & 1 deletion Shared/Engine/BaseController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class BaseController : Controller, IDisposable
{
IServiceScope serviceScope;

public static string appversion => "87";
public static string appversion => "89";

public IMemoryCache memoryCache { get; private set; }

Expand Down

0 comments on commit 2d4d7a7

Please sign in to comment.