Chuyển đến nội dung chính

Hướng dẫn Get link phimbathu.com | How to get link phimbathu.com | Long Hoàng Giang

Hướng dẫn get link phimbathu.com 

by Long Hoàng Giang

Trong bài viết này mình sẽ không nói chi tiết, hay cung cấp đoạn code cụ thể để mọi người có thể dùng luôn. Mình chỉ muốn hướng dẫn mọi người tư tưởng để các bạn có thể viết được code get link phimbathu.


Với mỗi 1 episode phim, có rất nhiều server & link phim được định nghĩa trong biến playerSetting trong html response



Link url của phim đã được mã hóa AES, ví dụ như trong hình trên thì link mã hóa chính là biến playerSetting.sourceTm[0].links[0].file.

Nhiệm vụ của chúng ta là làm sao tìm được đoạn giải mã để lấy được link phim. Sau khi xem xét qua chúng ta sẽ thấy được đoạn gọi hàm giải mã để có được link phim nằm trong file bplayer_v4.js




Nội dung hàm decodeLink như sau:

function decodeLink(decryptedUrl, phimId) {
    return GibberishAES['dec'](decryptedUrl, 'phimbathu.com' + '4590481877' + phimId)
}

phimId các bạn nhìn trên url của phim, ví dụ như phim kẻ cắp mặt trăng 3 có link như sau:

https://phimbathu.com/ke-cap-mat-trang-3-5762.html
https://phimbathu.com/xem-phim/phim-ke-cap-mat-trang-3-despicable-me-3-2017-5762

Về code hoặc video thì đã có 1 bác bên nodejs làm video & có cả code rất chi tiết, bạn nào muốn tham khảo thì có thể Google.





Nhận xét

Bài đăng phổ biến từ blog này

Windows 10 enable long file/folder path

Windows 10 enable long file/folder path Registry Import Enabling Long Paths Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem] "LongPathsEnabled"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:00000001 Enable via group policy editor Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> FileSystem -> Double click Enable Win32 long paths and select Enabled

[Solved] Adobe Premiere Pro CC 2015 has stopped on Windows 10 x64 (card AMD)

First you can check yours graphic card fully support Adobe Premiere Pro CC 2015 at here: http://blogs.adobe.com/premierepro/2013/05/improved-gpu-support-in-adobe-premiere-pro-cc.html If you open "Configure Switchable Graphics", you'll see the adobe premiere pro.exe has been locked. By default, it only run on Intel graphics, so you cant change or unlock this. To make your Adobe Premiere Pro CC 2015 run on AMD Graphics card, just rename file Adobe Premiere Pro.exe into Adobe Premiere Pro CC.exe After rename, run application again, and open Configure Switchable Graphics and choose High Performance. See this thread for more information: https://community.amd.com/thread/167905