GetCCcam.com
Advertise Here
Advertise Here
Advertise Here
Results 1 to 3 of 3

Thread: iptv checker

  1. #1
    New Member
    Join Date
    19-02-2021
    Posts
    2
    Uploads
    0
    Likes
    4

    iptv checker

    import threading,time,sys
    try:
    import requests
    except:
    print("Please install requests module!")
    sys.exit()
    path=input("File (example: file.m3u) => ")
    out=path+"_out.txt"
    try:
    with open(path, 'r') as file_in:
    lines = file_in.read().splitlines()
    except:
    print("File error or not found!")
    file_out=open(out, "w")
    #print(str(lines))
    all = len(lines)
    print(all)
    worked=0
    print("Scanning {} lists... Worked will write in {}".format(all,out))
    time.sleep(5)
    def check(i):
    global worked
    thisline=str(i)
    file_out.write(thisline+"\n")
    if thisline.startswith("#") == False:
    print("Checking "+thisline+"...")
    if "m3u8" not in thisline:
    if thisline.endswith("/") == False:
    thisline=thisline+".m3u8"
    else:
    thisline=thisline+"/index.m3u8"
    try:
    req=str(requests.get(thisline, timeout=(2,5)).status_code)
    if req == "200" or (req == "302"):
    print("OK. "+thisline)
    worked+=1
    #write here
    file_out.write(thisline+"\n")
    except:
    print("ERROR. "+thisline)
    for i in lines:
    threading.Thread(target=check,args=(i,)) .start()

  2. GetCCcam.com
  3. #2
    New Member
    Join Date
    19-02-2021
    Posts
    2
    Uploads
    0
    Likes
    4

    Re: iptv checker

    let us start a new thread / section for iptv programmer and iptv tool script.

  4. #3
    New Member leonlive's Avatar
    Join Date
    02-11-2008
    Posts
    1
    Uploads
    0
    Likes
    0

    Re: iptv checker

    Got-a idea :)

GetCCcam.com

Similar Threads

  1. New IPTV Stream Checker
    By taliq in forum IPTV Software
    Replies: 1
    Last Post: 05-10-2021, 00:33:38
  2. CCcam Account Checker v1.0
    By lolazoca in forum CCcam Software and Tools
    Replies: 0
    Last Post: 13-07-2010, 16:12:07
  3. MSN Status Checker v1.0 for AzBox HD
    By aguda in forum AZBox Software and Tools
    Replies: 1
    Last Post: 25-03-2010, 02:06:31
  4. Dream500 clone bomb checker
    By Monte79 in forum Italian / Italiano
    Replies: 1
    Last Post: 27-03-2009, 14:38:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •