Hirdetés
- Bemutatkozott a Poco X7 és X7 Pro
- Itt a Galaxy S26 széria: az Ultra fejlődött, a másik kettő alig
- iPhone topik
- Android alkalmazások - szoftver kibeszélő topik
- Alumíniumba öltözött a Nothing Phone (4a) Pro
- Samsung Galaxy S24 Ultra - ha működik, ne változtass!
- Jolla és SailfishOS tapasztalatcsere
- MWC 2026: Varázslatos kínai B-brand telefonok
- Xiaomi 17 Ultra - jó az optikája
- Magyarországon és Szlovákiában is debütált a Honor 600 Lite
Új hozzászólás Aktív témák
-
Hege1234
addikt
válasz
sztanozs
#3158
üzenetére
köszi, addig mindent szépen szűr amíg a FIXTV nincs hozzáadva
ha azt is hozzáírom akkor már elhasalimport requests
from bs4 import BeautifulSoup
html_url22 = "http://streamstat.net/videoplayer.cgi?sid=14358315&ext=.m3u8"
html_response = requests.get(html_url22)
soup = BeautifulSoup(html_response.text, 'html.parser')
for vid in soup.find_all('source'):
CINELIFEHD = vid['src']
html_url23 = "http://streamstat.net/videoplayer.cgi?sid=148177550&ext=.m3u8"
html_response = requests.get(html_url23)
soup = BeautifulSoup(html_response.text, 'html.parser')
for vid in soup.find_all('source'):
FIXTV = vid['src']
html_url40 = "https://raw.githubusercontent.com/Special2020/Iptv-hu.m3u/master/Uj%20T%20A.m3u"
ExtremeSportsChannel = requests.get(html_url40)
html_url14 = "https://onlinestream.live/fem3/videoplayer/6455-1"
html_response = requests.get(html_url14)
soup = BeautifulSoup(html_response.text, 'html.parser')
for vid in soup.find_all('source'):
fem3 = vid['src']
if 'http' in vid['src']:
print(
"#EXTM3U"
+ '\n' +
"#EXTINF:0,tvg-logo=https://cinelife.com/wp-content/uploads/2020/04/cinelife_logo.png, CINE LIFE HD" + '\n' +
CINELIFEHD + '\n' +
"#EXTINF:0,tvg-logo=http://1241.hu/userfiles/image/tvcsatornak/fem3.jpg, FEM3" + '\n' +
fem3 + '\n'
"#EXTINF:0,tvg-logo=https://cdn.pngsumo.com/tv-guide-extreme-sports-channel-the-home-of-action-sports-action-sports-png-320_240.png, Extreme Sports Channel" + '\n' +
ExtremeSportsChannel.text.split("\n")[308]
+ '\n' + "#EXTINF:0,tvg-logo=http://1241.hu/userfiles/image/tvcsatornak/pic_atkoto_55_fix_tv.png, Fix" + '\n' +
FIXTV
,file=open("test.m3u8", "w"))Traceback (most recent call last):
File "C:\scrape\test.py", line 37, in <module>
FIXTV
NameError: name 'FIXTV' is not definedha csak az egyszerűbb verziót printelem ki akkor is ezt írja
if 'http' in vid['src']:
print(CINELIFEHD+FIXTV)NameError: name 'FIXTV' is not defined
Új hozzászólás Aktív témák
- Honor X8 128GB, Kártyafüggetlen, 1 Év Garanciával
- LENOVO L13 Yoga 360 touch - 13,3" - i5 10210U, 8GB RAM, SSD, jó akku, - számla, 6 hó gar
- Apple iPhone 17 256GB fekete használt, újszerű 100% akku (0 ciklus) Apple garancia 2027.02.11
- Xiaomi 14 12/512GB - Kártyafüggetlen, Fekete, ÚJSZERŰ - 1 Év Garanciával
- Xiaomi 15T 512GB,Újszerű,Dobozaval,12 hónap garanciával
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

