Skip to content

Instantly share code, notes, and snippets.

View metalfoxdev's full-sized avatar
💭
Working on gr1d

metalfoxdev

💭
Working on gr1d
  • United Kingdom
  • 23:41 (UTC +01:00)
View GitHub Profile
@metalfoxdev
metalfoxdev / nhk-expire.py
Created September 29, 2025 17:53
Specify a time range in the CONFIG AREA (starts line 307), then run the script to get a list of URLs pointing to the VODs expiring with the set time range. You can pipe the list into a file then download it with yt-dlp.
#!/bin/python3
import requests
import json
import re
from urllib.parse import urlencode, urljoin
from datetime import datetime, timedelta, timezone
class NwApi: