mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
fix: Swap title and original_title in film title fallback assignment.
This commit is contained in:
parent
7b8f94cbe4
commit
5070680c78
@ -551,7 +551,7 @@ namespace Uaflix
|
||||
|
||||
try
|
||||
{
|
||||
string filmTitle = !string.IsNullOrEmpty(search_query) ? search_query : (!string.IsNullOrEmpty(title) ? title : original_title);
|
||||
string filmTitle = !string.IsNullOrEmpty(search_query) ? search_query : (!string.IsNullOrEmpty(title) ? original_title : title);
|
||||
string searchUrl = $"{_init.host}/index.php?do=search&subaction=search&story={System.Web.HttpUtility.UrlEncode(filmTitle)}";
|
||||
var headers = new List<HeadersModel>() { new HeadersModel("User-Agent", "Mozilla/5.0"), new HeadersModel("Referer", _init.host) };
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user