Download
@foreach ($downloads as $download) @php $title = explode('/', $download->url)[2]; @endphp
{{ $title }}
Size: {{ $download->getFileSize() }}
Date: {{ $download->created_at->format('Y-m-d') }}
@php $dlpdomains = config('hstream.download_domain_4k'); $now = \Illuminate\Support\Carbon::now(); $expire = \Illuminate\Support\Facades\Crypt::encryptString($now->addHours(6)); $file = \Illuminate\Support\Facades\Crypt::encryptString('hentai/'.$download->url); $downloadURL = $dlpdomains[array_rand($dlpdomains)].'/download/'.$file.'/'.$expire; @endphp
@endforeach
{{ $downloads->links('pagination::tailwind') }}