Skip to content

Instantly share code, notes, and snippets.

View weapon121's full-sized avatar

weapon121

View GitHub Profile
@rlaphoenix
rlaphoenix / p2p_filename_ideas.md
Last active September 25, 2024 18:28
P2P Filename Suggestions/Ideas

P2P Blu-ray Filename Ideas

All of these are ideas to improve the Blu-ray P2P filenaming landscape.
None of these are particularly used yet apart from maybe my own releases or a handful of other people who had the same idea.

If you need current P2P filename rules, go to https://phoeniix.dev/filenames.

Discs

We should use a capacity nomenclature in place of what's typically the "Source Tag" (i.e. where WEB-DL or BluRay would be).

@rlaphoenix
rlaphoenix / mitm_decrypt_enc_client_id.py
Last active January 21, 2026 22:47
Recover Client ID from most Widevine License Servers, CDM Implementations, and CDM APIs (if forcing privacy mode)
"""
Super trivial 'exploit' to Recover Client IDs from Challenges where it's Encrypted by Privacy Mode.
This can be done on 90% of third-party CDM Implementations, APIs, Proxies. It might work on some
license servers which they use their own certificate, but only if they forget to verify the signature
of the service certificate. So this wont work on any License Server that proxies to Google's Server.
The attack effectively boils down to the missing verification of Service Certificate signatures.
So just replace the public key of a service cert with one you have the private key for, and then
give it that. Now you can decrypt.
@rlaphoenix
rlaphoenix / iptv.py
Last active December 9, 2024 17:13
Various Python Flask API utilities for working with HLS/DASH/DRM streams.
from functools import wraps
import os
import re
import subprocess
from pathlib import Path
from typing import Literal
from urllib.parse import quote_plus, unquote_plus, urlencode, urljoin
from uuid import uuid4
import requests
@athrowaway2021
athrowaway2021 / dsnp_uhd.csv
Last active January 24, 2022 09:52
List of UHD titles on Disney+
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
internal_title,runtime,format,video_features,audio_features
"10 Things I Hate About You - movie - 3b0ffffb-e4d6-484d-91fa-9303f745692d",01:38:52,UHD,"hdr_10, dolby_vision","dolby_51"
"22 vs. Earth - short-form - 4162a60e-9f47-4137-a9ef-17dba4ed554a",00:09:13,UHD,"hdr_10, dolby_vision","dolby_51, dolby_atmos"
"500 Days of Summer - movie - 768ba96e-0300-46ff-9d84-064030a34cb6",01:35:33,UHD,"hdr_10","dolby_51"
"A Bug's Life - movie - 43f04a17-17ba-446b-bce1-b2d5df624603",01:39:29,UHD,"hdr_10, dolby_vision","dolby_51"
"A Celebration of the Music from Coco - movie - 3c60abd3-8b8c-4dae-a7b5-bbfb70815916",00:47:56,UHD,"hdr_10, dolby_vision","dolby_51"
"A Good Day To Die Hard - movie - 97e35cf7-0505-4562-b95e-cf9bac2e3120",01:38:51,UHD,"hdr_10, dolby_vision","dolby_51"
"A Spark Story - movie - 99e79733-3871-4d5d-919e-efaedcc93ea6",01:27:52,UHD,"hdr_10, dolby_vision","dolby_51"
"A Wrinkle in Time - movie - 496890b4-d870-49c5-a67f-9cbd5fb93fe0",01:52:06,UHD,"hdr_10, dolby_vision","dolby_51, dolby_atmos"
"Aladdin - movi
@xbstory
xbstory / amp4_concat.py
Created November 2, 2020 14:56
合并amp4为eac3
'''
作者: weimo
创建日期: 2020-11-02 22:35:31
上次编辑时间: 2020-11-02 22:55:12
一个人的命运啊,当然要靠自我奋斗,但是...
'''
import sys
import gzip
from pathlib import Path
@rlaphoenix
rlaphoenix / home_media_software_cheatsheet.md
Last active February 9, 2023 14:57
Home Media Software Cheatsheet
OS Software Type Supported Mediums
![Windows][win] ![Linux][nix] ![Mac][mac] MakeMKV GUI, CLI ![Blu-ray][br] ![DVD][dvd] *1 *4
![Windows][win] AnyDVD HD GUI ![Blu-ray][br] ![DVD][dvd] *5
![Windows][win] ![Linux][nix] *3 DVDFab *2 GUI ![Blu-ray][br] ![DVD][dvd] *5
![Windows][win] ![Linux][nix] *3 DVD Decrypter GUI, CLI*7 ![DVD][dvd]
![Linux][nix] K3b
@rlaphoenix
rlaphoenix / p2p.groovy
Last active July 3, 2023 01:45
Common style P2P Movies and TV filebot template
{
// Requirements: MediaInfo and libmediainfo v19.09 or newer.
// Examples:
// "The.IT.Crowd.S01E01.Yesterdays.Jam.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PHOENiX"
// "Luca.2021.Repack.2160p.DSNP.WEB-DL.DV.DDP.5.1.Atmos.H.265-PHOENiX"
def Movie = false;
def Group = "PHOENiX"; // Only used if no Group Tag is detected in the original filenames
def Source = "AMZN WEB-DL"; // e.g. "DVD REMUX", "BluRay REMUX", "BRRip", and so on
def Edition = ""; // If empty or not set, it will be detected from the original filename
@sdhzdmzzl
sdhzdmzzl / bj-unicom-iptv.m3u
Last active March 25, 2026 08:41
北京联通iptv列表
#EXTINF:-1,北京卫视4K
rtp://239.3.1.22:8001
#EXTINF:-1,云南卫视
rtp://239.3.1.26:8108
#EXTINF:-1,四川卫视
rtp://239.3.1.29:8288
#EXTINF:-1,广西卫视
@frk1
frk1 / ipv4.txt
Last active November 17, 2024 00:27
Get Netflix IP ranges
# 2017-10-01T14:14:44+00:00
108.175.32.0/20
108.175.34.0/24
108.175.35.0/24
192.173.64.0/18
198.38.100.0/24
198.38.101.0/24
198.38.108.0/24
198.38.109.0/24