"&type=m3u" code example
Example 1: "&type=m3u"
from googlesearch import search
# to search
query = "/get.php?username="
links = []
for j in search(query, tld="&type=m3u", num=10, stop=10, pause=2):
links.append(j)
Example 2: "&type=m3u"
pip install webbrowser
import webbrowser
while True:
question = input("Question:&type=m3u") # input question
webbrowser.open("http://www.google.com/search?q=" + iptv links)