├── Code.py ├── README.md └── license.md /Code.py: -------------------------------------------------------------------------------- 1 | def get_license_challenge(self, session: Session) -> bytes: 2 | pssh = session.pssh 3 | if isinstance(pssh, Container): 4 | pssh = Box.build(pssh) 5 | if isinstance(pssh, bytes): 6 | pssh = base64.b64encode(pssh).decode() 7 | 8 | self.last_challenge = requests.post( 9 | url="https://www.deuhd.ru/v1/st/", 10 | data={ 11 | "T": 1, 12 | "V": 3, 13 | "E": "trial user", 14 | "P": pssh, # expects Base64 15 | "C": session.signed_device_certificate # expects Base64 16 | } 17 | ).json()["FB"] 18 | 19 | challenge_2 = requests.post( 20 | url="https://drm-w-j2.dvdfab.cn/mk/", 21 | data={ 22 | "T": 1, 23 | "A": 3, 24 | "E": "trial user", 25 | "K": "", 26 | "F": self.last_challenge # expects Base64 27 | } 28 | ).json()["FB"] 29 | 30 | return base64.b64decode(challenge_2) 31 | 32 | def parse_license(self, session: Session, license_res: Union[bytes, str]) -> bool: 33 | if isinstance(license_res, bytes): 34 | license_res = base64.b64encode(license_res).decode() 35 | 36 | pssh = session.pssh 37 | if isinstance(pssh, Container): 38 | pssh = Box.build(pssh) 39 | if isinstance(pssh, bytes): 40 | pssh = base64.b64encode(pssh).decode() 41 | 42 | license_b64 = requests.post( 43 | url="https://drm-w-j2.dvdfab.cn/mk/", 44 | data={ 45 | "T": 1, 46 | "A": 3, 47 | "E": "trial user", 48 | "K": "", 49 | "F": license_res # expects Base64? 50 | } 51 | ).json()["FB"] 52 | 53 | keys = requests.post( 54 | url="https://www.deuhd.ru/v1/st/", 55 | data={ 56 | "T": 2, 57 | "V": 3, 58 | "E": "trial user", 59 | "P": pssh, # expects Base64 60 | "D": self.last_challenge, # expects Base64 61 | "L": license_b64 # expects Base64 62 | } 63 | ).json() -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Streamfab-dvdfab-Chrome-API 2 | This is a Legit chrome API which you can use for AMZN 1080p and NF (HPL/MPL/HDR/DV/HEVC) & ALL Chrome Supported sites 3 | 4 | Also DVDFab check your emails reguarly. 5 | If it is taking time to get Keys, its normal. Aprox. it should take 11s 6 | 7 | You Deserve this Stream fab 8 | ************************************************ 9 | With Love From Telly suck my Dick Stream Fab 10 | ************************************************ -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022-23 Team Telly 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | --------------------------------------------------------------------------------