{
let url = '/streaming/';
if (url.slice(-1) == '/') {
url = url.slice(0, -1);
}
let params = 'genre/Fantasy';
url += '/' + params;
if (value) {
url += '/search/' + value;
}
console.log(url + '/');
window.location.href = url + '/';
}"
>
{
let url = '/streaming/genre/Fantasy/page/40/';
if (url.slice(-1) == '/') {
url = url.slice(0, -1);
}
if (value) {
url += '/sort/' + value;
}
window.location.href = url + '/';
}"
>