- Apple iPhone Air - almacsutka
- iPhone topik
- Android alkalmazások - szoftver kibeszélő topik
- Fotók, videók mobillal
- Apple iPhone 16 - ígéretek földje
- Milyen okostelefont vegyek?
- 10 egyszerű trükk Samsung telefonokhoz
- Telekom mobilszolgáltatások
- Itt a Google Pixel 10a EU-s energiacímkéje
- Az Apple állítólag tovább halasztja a Gemini segítette Siri bevezetését
Ú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
- Dobozos, függetelen Redmi note 13 pro 5G telefon kifpgástalan állapotban!
- Workstation 4K ERŐMŰ Lenovo P1 Gen3 ( I7 10850H 32Gb 1 Tb) Tervező/vágó/gamer - Nvidia 4Gb!
- PRÉMIUM RGB GAMER PC Ryzen 5 3600XT + AORUS RX 6750 XT 12GB + Seasonic Gold
- Meta Quest 2 128GB Full Extra csomag (Elite Strap akkuval és tok, Kiwi grip, Fit Pack)
- EliteBook 840 G11 14" FHD+ IPS Ultra 5 125U 16GB 256GB NVMe magyar vbill gar
- BESZÁMÍTÁS! Gigabyte H110M i5 7600K 16GB DDR4 240GB SSD GTX 1060 6GB GDDR5 Rampage SHIVA 400W
- Telefon felvásárlás!! iPhone 13 Mini/iPhone 13/iPhone 13 Pro/iPhone 13 Pro Max
- HIBÁTLAN iPhone 11 Pro Max 64GB Space Grey-1 ÉV GARANCIA - Kártyafüggetlen, MS4415
- Dell Precision 7550 i7-10850H 32GB 512GB Nvidia RTX3000 6GB 1 év garancia
- Lenovo ThinkPad T14s Gen 3 i5-1245U 14" FHD+ 16GB 512GB 1 év teljeskörű garancia
Állásajánlatok
Cég: Central PC számítógép és laptop szerviz - Pécs
Város: Pécs
Cég: Laptopműhely Bt.
Város: Budapest


