Updated playlist: 0
0 channels
This commit is contained in:
parent
0f35cf3e13
commit
41b9f2d8bd
12 changed files with 644 additions and 215 deletions
BIN
scripts/__pycache__/channel_processor.cpython-311.pyc
Normal file
BIN
scripts/__pycache__/channel_processor.cpython-311.pyc
Normal file
Binary file not shown.
BIN
scripts/__pycache__/config_manager.cpython-311.pyc
Normal file
BIN
scripts/__pycache__/config_manager.cpython-311.pyc
Normal file
Binary file not shown.
BIN
scripts/__pycache__/file_manager.cpython-311.pyc
Normal file
BIN
scripts/__pycache__/file_manager.cpython-311.pyc
Normal file
Binary file not shown.
BIN
scripts/__pycache__/health_checker.cpython-311.pyc
Normal file
BIN
scripts/__pycache__/health_checker.cpython-311.pyc
Normal file
Binary file not shown.
BIN
scripts/__pycache__/playlist_builder.cpython-311.pyc
Normal file
BIN
scripts/__pycache__/playlist_builder.cpython-311.pyc
Normal file
Binary file not shown.
BIN
scripts/__pycache__/report_generator.cpython-311.pyc
Normal file
BIN
scripts/__pycache__/report_generator.cpython-311.pyc
Normal file
Binary file not shown.
4
scripts/config/group_overrides.json
Normal file
4
scripts/config/group_overrides.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"example_keyword": "🇺🇸 United States",
|
||||
"another_keyword": "🇬🇧 United Kingdom"
|
||||
}
|
600
scripts/config/patterns.json
Normal file
600
scripts/config/patterns.json
Normal file
|
@ -0,0 +1,600 @@
|
|||
{
|
||||
"country_patterns": {
|
||||
"🇺🇸 United States": [
|
||||
"cbs",
|
||||
"nbc",
|
||||
"abc",
|
||||
"fox",
|
||||
"espn",
|
||||
"cnn",
|
||||
"hbo",
|
||||
" usa",
|
||||
" us ",
|
||||
".us",
|
||||
"america",
|
||||
"nfl"
|
||||
],
|
||||
"🇬🇧 United Kingdom": [
|
||||
"bbc",
|
||||
"itv",
|
||||
"sky",
|
||||
"channel 4",
|
||||
"e4",
|
||||
" uk",
|
||||
".uk",
|
||||
"british",
|
||||
"premier league"
|
||||
],
|
||||
"🇨🇦 Canada": [
|
||||
"cbc",
|
||||
"ctv",
|
||||
"global",
|
||||
"canada",
|
||||
"canadian",
|
||||
" ca ",
|
||||
".ca"
|
||||
],
|
||||
"🇩🇪 Germany": [
|
||||
"ard",
|
||||
"zdf",
|
||||
"rtl",
|
||||
"sat.1",
|
||||
"pro7",
|
||||
"germany",
|
||||
"german",
|
||||
" de ",
|
||||
".de"
|
||||
],
|
||||
"🇫🇷 France": [
|
||||
"tf1",
|
||||
"france 2",
|
||||
"m6",
|
||||
"canal+",
|
||||
"france",
|
||||
"french",
|
||||
" fr ",
|
||||
".fr"
|
||||
],
|
||||
"🇪🇸 Spain": [
|
||||
"tve",
|
||||
"antena 3",
|
||||
"telecinco",
|
||||
"spain",
|
||||
"spanish",
|
||||
" es ",
|
||||
".es"
|
||||
],
|
||||
"🇮🇹 Italy": [
|
||||
"rai",
|
||||
"mediaset",
|
||||
"canale 5",
|
||||
"italy",
|
||||
"italian",
|
||||
" it ",
|
||||
".it"
|
||||
],
|
||||
"🇳🇱 Netherlands": [
|
||||
"npo",
|
||||
"rtl nl",
|
||||
"netherlands",
|
||||
"dutch",
|
||||
"holland",
|
||||
" nl ",
|
||||
".nl"
|
||||
],
|
||||
"🇧🇪 Belgium": [
|
||||
"vtm",
|
||||
"één",
|
||||
"canvas",
|
||||
"belgium",
|
||||
"belgian",
|
||||
" be ",
|
||||
".be"
|
||||
],
|
||||
"🇨🇭 Switzerland": [
|
||||
"srf",
|
||||
"rts",
|
||||
"switzerland",
|
||||
"swiss",
|
||||
" ch ",
|
||||
".ch"
|
||||
],
|
||||
"🇦🇹 Austria": [
|
||||
"orf",
|
||||
"austria",
|
||||
"austrian",
|
||||
" at ",
|
||||
".at"
|
||||
],
|
||||
"🇵🇹 Portugal": [
|
||||
"rtp",
|
||||
"sic",
|
||||
"tvi",
|
||||
"portugal",
|
||||
"portuguese",
|
||||
" pt ",
|
||||
".pt"
|
||||
],
|
||||
"🇮🇪 Ireland": [
|
||||
"rte",
|
||||
"tg4",
|
||||
"ireland",
|
||||
"irish",
|
||||
" ie ",
|
||||
".ie"
|
||||
],
|
||||
"🇸🇪 Sweden": [
|
||||
"svt",
|
||||
"tv4",
|
||||
"sweden",
|
||||
"swedish",
|
||||
" se ",
|
||||
".se"
|
||||
],
|
||||
"🇳🇴 Norway": [
|
||||
"nrk",
|
||||
"tv 2 no",
|
||||
"norway",
|
||||
"norwegian",
|
||||
" no ",
|
||||
".no"
|
||||
],
|
||||
"🇩🇰 Denmark": [
|
||||
"dr",
|
||||
"tv2 dk",
|
||||
"denmark",
|
||||
"danish",
|
||||
" dk ",
|
||||
".dk"
|
||||
],
|
||||
"🇫🇮 Finland": [
|
||||
"yle",
|
||||
"mtv3",
|
||||
"finland",
|
||||
"finnish",
|
||||
" fi ",
|
||||
".fi"
|
||||
],
|
||||
"🇮🇸 Iceland": [
|
||||
"ruv",
|
||||
"iceland",
|
||||
"icelandic",
|
||||
" is ",
|
||||
".is"
|
||||
],
|
||||
"🇷🇺 Russia": [
|
||||
"channel one",
|
||||
"rossiya",
|
||||
"ntv",
|
||||
"russia",
|
||||
"russian",
|
||||
" ru ",
|
||||
".ru"
|
||||
],
|
||||
"🇵🇱 Poland": [
|
||||
"tvp",
|
||||
"polsat",
|
||||
"tvn",
|
||||
"poland",
|
||||
"polish",
|
||||
" pl ",
|
||||
".pl"
|
||||
],
|
||||
"🇨🇿 Czech Republic": [
|
||||
"ct",
|
||||
"nova",
|
||||
"prima",
|
||||
"czech",
|
||||
" cz ",
|
||||
".cz"
|
||||
],
|
||||
"🇸🇰 Slovakia": [
|
||||
"rtvs",
|
||||
"markiza",
|
||||
"slovakia",
|
||||
"slovak",
|
||||
" sk ",
|
||||
".sk"
|
||||
],
|
||||
"🇭🇺 Hungary": [
|
||||
"mtv hu",
|
||||
"rtl klub",
|
||||
"hungary",
|
||||
"hungarian",
|
||||
" hu ",
|
||||
".hu"
|
||||
],
|
||||
"🇺🇦 Ukraine": [
|
||||
"1+1",
|
||||
"inter",
|
||||
"ictv",
|
||||
"ukraine",
|
||||
"ukrainian",
|
||||
" ua ",
|
||||
".ua"
|
||||
],
|
||||
"🇷🇴 Romania": [
|
||||
"tvr",
|
||||
"pro tv",
|
||||
"romania",
|
||||
"romanian",
|
||||
" ro ",
|
||||
".ro"
|
||||
],
|
||||
"🇧🇬 Bulgaria": [
|
||||
"btv",
|
||||
"nova bg",
|
||||
"bulgaria",
|
||||
"bulgarian",
|
||||
" bg ",
|
||||
".bg"
|
||||
],
|
||||
"🇭🇷 Croatia": [
|
||||
"hrt",
|
||||
"nova tv hr",
|
||||
"croatia",
|
||||
"croatian",
|
||||
" hr ",
|
||||
".hr"
|
||||
],
|
||||
"🇷🇸 Serbia": [
|
||||
"rts",
|
||||
"pink",
|
||||
"serbia",
|
||||
"serbian",
|
||||
" rs ",
|
||||
".rs"
|
||||
],
|
||||
"🇬🇷 Greece": [
|
||||
"ert",
|
||||
"mega gr",
|
||||
"greece",
|
||||
"greek",
|
||||
" gr ",
|
||||
".gr"
|
||||
],
|
||||
"🇧🇷 Brazil": [
|
||||
"globo",
|
||||
"band",
|
||||
"sbt",
|
||||
"brazil",
|
||||
"brasil",
|
||||
" br ",
|
||||
".br"
|
||||
],
|
||||
"🇦🇷 Argentina": [
|
||||
"telefe",
|
||||
"canal 13",
|
||||
"argentina",
|
||||
" ar ",
|
||||
".ar"
|
||||
],
|
||||
"🇲🇽 Mexico": [
|
||||
"televisa",
|
||||
"tv azteca",
|
||||
"mexico",
|
||||
"méxico",
|
||||
" mx ",
|
||||
".mx"
|
||||
],
|
||||
"🇨🇱 Chile": [
|
||||
"tvn",
|
||||
"mega",
|
||||
"chile",
|
||||
"chilean",
|
||||
" cl ",
|
||||
".cl"
|
||||
],
|
||||
"🇨🇴 Colombia": [
|
||||
"caracol",
|
||||
"rcn",
|
||||
"colombia",
|
||||
"colombian",
|
||||
" co ",
|
||||
".co"
|
||||
],
|
||||
"🇵🇪 Peru": [
|
||||
"america tv pe",
|
||||
"peru",
|
||||
"peruvian",
|
||||
" pe ",
|
||||
".pe"
|
||||
],
|
||||
"🇻🇪 Venezuela": [
|
||||
"venevision",
|
||||
"venezuela",
|
||||
"venezuelan",
|
||||
" ve ",
|
||||
".ve"
|
||||
],
|
||||
"🇨🇳 China": [
|
||||
"cctv",
|
||||
"phoenix",
|
||||
"china",
|
||||
"chinese",
|
||||
" cn ",
|
||||
".cn"
|
||||
],
|
||||
"🇯🇵 Japan": [
|
||||
"nhk",
|
||||
"fuji",
|
||||
"tv asahi",
|
||||
"japan",
|
||||
"japanese",
|
||||
" jp ",
|
||||
".jp"
|
||||
],
|
||||
"🇰🇷 South Korea": [
|
||||
"kbs",
|
||||
"sbs kr",
|
||||
"mbc kr",
|
||||
"korea",
|
||||
"korean",
|
||||
" kr ",
|
||||
".kr"
|
||||
],
|
||||
"🇰🇵 North Korea": [
|
||||
"kctv",
|
||||
"north korea",
|
||||
"dprk"
|
||||
],
|
||||
"🇹🇼 Taiwan": [
|
||||
"cts",
|
||||
"ctv",
|
||||
"tvbs",
|
||||
"taiwan",
|
||||
"taiwanese",
|
||||
" tw ",
|
||||
".tw"
|
||||
],
|
||||
"🇭🇰 Hong Kong": [
|
||||
"tvb",
|
||||
"atv",
|
||||
"hong kong",
|
||||
"hongkong",
|
||||
" hk ",
|
||||
".hk"
|
||||
],
|
||||
"🇹🇭 Thailand": [
|
||||
"ch3",
|
||||
"ch7",
|
||||
"thai pbs",
|
||||
"thailand",
|
||||
"thai",
|
||||
" th ",
|
||||
".th"
|
||||
],
|
||||
"🇻🇳 Vietnam": [
|
||||
"vtv",
|
||||
"htv",
|
||||
"vietnam",
|
||||
"vietnamese",
|
||||
" vn ",
|
||||
".vn"
|
||||
],
|
||||
"🇮🇩 Indonesia": [
|
||||
"tvri",
|
||||
"sctv",
|
||||
"rcti",
|
||||
"indonesia",
|
||||
"indonesian",
|
||||
" id ",
|
||||
".id"
|
||||
],
|
||||
"🇲🇾 Malaysia": [
|
||||
"tv1",
|
||||
"tv3",
|
||||
"astro",
|
||||
"malaysia",
|
||||
"malaysian",
|
||||
" my ",
|
||||
".my",
|
||||
"my:"
|
||||
],
|
||||
"🇸🇬 Singapore": [
|
||||
"channel 5",
|
||||
"channel 8",
|
||||
"singapore",
|
||||
" sg ",
|
||||
".sg"
|
||||
],
|
||||
"🇵🇭 Philippines": [
|
||||
"abs-cbn",
|
||||
"gma",
|
||||
"philippines",
|
||||
"filipino",
|
||||
" ph ",
|
||||
".ph"
|
||||
],
|
||||
"🇮🇳 India": [
|
||||
"star plus",
|
||||
"zee tv",
|
||||
"colors",
|
||||
"sony tv",
|
||||
"india",
|
||||
"indian",
|
||||
"hindi",
|
||||
" in ",
|
||||
".in"
|
||||
],
|
||||
"🇵🇰 Pakistan": [
|
||||
"ptv",
|
||||
"geo tv",
|
||||
"ary",
|
||||
"pakistan",
|
||||
"pakistani",
|
||||
" pk ",
|
||||
".pk"
|
||||
],
|
||||
"🇧🇩 Bangladesh": [
|
||||
"btv",
|
||||
"channel i",
|
||||
"bangladesh",
|
||||
"bangladeshi",
|
||||
" bd ",
|
||||
".bd"
|
||||
],
|
||||
"🇱🇰 Sri Lanka": [
|
||||
"rupavahini",
|
||||
"sirasa",
|
||||
"sri lanka",
|
||||
" lk ",
|
||||
".lk"
|
||||
],
|
||||
"🇳🇵 Nepal": [
|
||||
"nepal tv",
|
||||
"kantipur",
|
||||
"nepal",
|
||||
"nepali",
|
||||
" np ",
|
||||
".np"
|
||||
],
|
||||
"🇦🇫 Afghanistan": [
|
||||
"rta",
|
||||
"tolo tv",
|
||||
"afghanistan",
|
||||
"afghan",
|
||||
" af ",
|
||||
".af"
|
||||
],
|
||||
"🇦🇺 Australia": [
|
||||
"abc au",
|
||||
"seven",
|
||||
"nine",
|
||||
"ten",
|
||||
"australia",
|
||||
"australian",
|
||||
"aussie",
|
||||
" au ",
|
||||
".au"
|
||||
],
|
||||
"🇳🇿 New Zealand": [
|
||||
"tvnz",
|
||||
"tvnz 1",
|
||||
"tvnz 2",
|
||||
"three nz",
|
||||
"tvnz duke",
|
||||
"new zealand",
|
||||
"kiwi",
|
||||
" nz ",
|
||||
".nz"
|
||||
],
|
||||
"🇸🇦 Arabic": [
|
||||
"al jazeera",
|
||||
"mbc",
|
||||
"lbc",
|
||||
"dubai tv",
|
||||
"arabic",
|
||||
"arab",
|
||||
"qatar",
|
||||
"dubai",
|
||||
"saudi"
|
||||
],
|
||||
"🇮🇱 Israel": [
|
||||
"kan",
|
||||
"keshet 12",
|
||||
"israel",
|
||||
"israeli",
|
||||
"hebrew",
|
||||
" il ",
|
||||
".il"
|
||||
],
|
||||
"🇹🇷 Turkey": [
|
||||
"trt",
|
||||
"atv",
|
||||
"kanal d",
|
||||
"turkey",
|
||||
"turkish",
|
||||
" tr ",
|
||||
".tr",
|
||||
"tr |"
|
||||
],
|
||||
"🇮🇷 Iran": [
|
||||
"irib",
|
||||
"press tv",
|
||||
"iran",
|
||||
"iranian",
|
||||
"persian",
|
||||
" ir ",
|
||||
".ir"
|
||||
],
|
||||
"🇪🇬 Egypt": [
|
||||
"nile tv",
|
||||
"cbc egypt",
|
||||
"egypt",
|
||||
"egyptian",
|
||||
" eg ",
|
||||
".eg"
|
||||
],
|
||||
"🇿🇦 South Africa": [
|
||||
"sabc",
|
||||
"etv",
|
||||
"mnet",
|
||||
"south africa",
|
||||
" za ",
|
||||
".za"
|
||||
],
|
||||
"🇳🇬 Nigeria": [
|
||||
"nta",
|
||||
"channels tv",
|
||||
"nigeria",
|
||||
"nigerian",
|
||||
" ng ",
|
||||
".ng"
|
||||
]
|
||||
},
|
||||
"country_prefixes": {
|
||||
"🇺🇦 Ukraine": [
|
||||
"ua |"
|
||||
],
|
||||
"🇵🇱 Poland": [
|
||||
"pl |"
|
||||
],
|
||||
"🇹🇷 Turkey": [
|
||||
"tr |"
|
||||
],
|
||||
"🇲🇾 Malaysia": [
|
||||
"my:",
|
||||
"my |"
|
||||
],
|
||||
"🇬🇧 United Kingdom": [
|
||||
"uk:",
|
||||
"uk |"
|
||||
],
|
||||
"🇺🇸 United States": [
|
||||
"us:",
|
||||
"us |"
|
||||
]
|
||||
},
|
||||
"quality_patterns": {
|
||||
"4K": [
|
||||
"4k",
|
||||
"uhd",
|
||||
"2160p"
|
||||
],
|
||||
"FHD": [
|
||||
"fhd",
|
||||
"1080p",
|
||||
"1080"
|
||||
],
|
||||
"HD": [
|
||||
"hd",
|
||||
"720p",
|
||||
"720"
|
||||
],
|
||||
"SD": [
|
||||
"sd",
|
||||
"480p",
|
||||
"360p"
|
||||
]
|
||||
},
|
||||
"adult_keywords": [
|
||||
"xxx",
|
||||
"adult",
|
||||
"porn",
|
||||
"sex",
|
||||
"erotic",
|
||||
"playboy",
|
||||
"18+"
|
||||
]
|
||||
}
|
16
scripts/config/settings.json
Normal file
16
scripts/config/settings.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"remove_duplicates": true,
|
||||
"sort_channels": true,
|
||||
"backup_before_import": true,
|
||||
"auto_cleanup_import": true,
|
||||
"auto_detect_country": true,
|
||||
"detect_quality": true,
|
||||
"skip_adult_content": true,
|
||||
"min_channel_name_length": 2,
|
||||
"max_workers": 4,
|
||||
"enable_health_check": false,
|
||||
"health_check_timeout": 5,
|
||||
"create_backup": true,
|
||||
"max_backups": 5,
|
||||
"log_level": "INFO"
|
||||
}
|
16
scripts/reports/playlist_report_20250627_214430.md
Normal file
16
scripts/reports/playlist_report_20250627_214430.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# IPTV Playlist Generation Report
|
||||
**Generated:** 2025-06-27 21:44:30
|
||||
|
||||
## Summary Statistics
|
||||
- **Total channels processed:** 0
|
||||
- **Valid channels:** 0
|
||||
- **Duplicates removed:** 0
|
||||
- **New channels imported:** 0
|
||||
- **Countries detected:** 0
|
||||
|
||||
## Configuration
|
||||
- **Remove duplicates:** True
|
||||
- **Auto country detection:** True
|
||||
- **Quality detection:** True
|
||||
- **Adult content filtering:** True
|
||||
- **Health check enabled:** False
|
Loading…
Add table
Add a link
Reference in a new issue