Pirate-Crew / IPTV

Search and perform brute force attacks on illegal IPTV Servers
MIT License
378 stars 232 forks source link

Problem with google module #52

Closed SlaSerX closed 6 years ago

SlaSerX commented 6 years ago

Hello i install google-cloud couse dont have a google and now take this err

etching URLs plase wait... Traceback (most recent call last): File "iptv.py", line 39, in cr.search_links() File "/root/l33t/IPTV/iptv/Crawler.py", line 62, in search_links for url in google.search(self.searchString, num=30, stop=1): AttributeError: 'module' object has no attribute 'search'

jeafke commented 6 years ago

edit #for url in google.search(self.searchString, num=30, stop=1): for url in googlesearch.search(self.searchString, num=30, stop=1):

SlaSerX commented 6 years ago

Thx i will try now

SlaSerX commented 6 years ago

Fetching URLs plase wait... Traceback (most recent call last): File "./iptv.py", line 39, in cr.search_links() File "/root/l33t/IPTV/iptv/Crawler.py", line 62, in search_links for url in googlesearch.search(self.searchString, num=30, stop=1): NameError: global name 'googlesearch' is not defined

SlaSerX commented 6 years ago

where need to be defined ?

SlaSerX commented 6 years ago

Done i fix it just need to add import googlesearch

Thx for supp

erotavlasme commented 6 years ago

Hi, I have the same problem as you. Your solution does not work for me. I'm using python 3.5.2. Thank you

SlaSerX commented 6 years ago

cant be work what err give u ? paste error

2018-02-05 10:58 GMT+02:00 erotavlas85 notifications@github.com:

Hi, I have the same problem as you. Your solution does not work for me. I'm using python 3.5.2. Thank you

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Pirate-Crew/IPTV/issues/52#issuecomment-363020101, or mute the thread https://github.com/notifications/unsubscribe-auth/AFaTzi9Mkks0WW7LRNpSYBCwjnLpJBlzks5tRsKxgaJpZM4R4O0H .

erotavlasme commented 6 years ago

After that I imported googlesearch and google on Crawler.py I got: Please select an option: 1 Fetching URLs plase wait... Traceback (most recent call last): File "iptv.py", line 39, in cr.search_links() File "/home/user/Desktop/IPTV-master/iptv/Crawler.py", line 63, in search_links for url in googlesearch.search(self.searchString, num=30, stop=1): AttributeError: module 'googlesearch' has no attribute 'search'

SlaSerX commented 6 years ago

Sure u load new module ?

erotavlasme commented 6 years ago

Yes, these are the first rows of Crawler.py import urllib import google import googlesearch import time import pyprind import os import random from urllib.parse import urlparse

SlaSerX commented 6 years ago

try run script with python2 not with python3