Comments (11)
edit
#for url in google.search(self.searchString, num=30, stop=1): for url in googlesearch.search(self.searchString, num=30, stop=1):
from iptv.
Thx i will try now
from iptv.
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
from iptv.
where need to be defined ?
from iptv.
Done i fix it just need to add import googlesearch
Thx for supp
from iptv.
Hi,
I have the same problem as you. Your solution does not work for me. I'm using python 3.5.2.
Thank you
from iptv.
from iptv.
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'
from iptv.
Sure u load new module ?
from iptv.
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
from iptv.
try run script with python2 not with python3
from iptv.
Related Issues (20)
- The Code doesn't work HOT 3
- Problema con Windows HOT 4
- ascoltate Γ¨ urgente HOT 1
- HTTP 404: Not Found HOT 3
- Errore con la dev..potete aiutarmi? HOT 1
- errore Ops something went wrong! mac 10.11
- mi potete aiutare con l' installazione dello script?una volta che vadoa caricare sul terminale "pip install -r requirements.txt" ricevo questoerrore ----Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-stEtYt/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ZN5r2X-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-stEtYt/psutil Storing debug log for failure in /root/.pip/pip.log" sono alle prime armi con ubuntu ... e sta cosa mi stΓ facendo uscir pazzo ..XD.. HOT 5
- File "iptv.py", line 53, in <module> HOT 4
- problema
- Error Module and Language HOT 1
- i cannot run the script, i it still working HOT 1
- How to install warehouses and modules correctly.
- Does not work on Raspberry Pi with Raspbian?
- Non funziona su Windows7
- Kali linux 2018 HOT 1
- wrong syntaxes
- NameError: global name 'google' is not defined
- problem import google kali linux FIXED HOT 4
- Hola iptv
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iptv.