Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An updated working program example? #200

Open
mlu-sfbayarea opened this issue Dec 20, 2017 · 1 comment
Open

An updated working program example? #200

mlu-sfbayarea opened this issue Dec 20, 2017 · 1 comment

Comments

@mlu-sfbayarea
Copy link

Hi there, is it possible to post an updated example using with Python scripts? current examples are giving some error messages. Thanks in advance!

@sid6224
Copy link

sid6224 commented Feb 23, 2018

Same issue. I try using the example of GoogleScraper from within python script,

I am using the config part as:

def basic_usage():
# See in the config.cfg file for possible values
config = {
'SCRAPING': {
'192.168.8.101': 'True',
'keyword': 'python courses',
'search_engines': 'google',
'num_pages_for_keyword': 1
},
'SELENIUM': {
'sel_browser': 'chrome',
},
'GLOBAL': {
'do_caching': 'False'
}
}

192.168.8.101 is the DHCP address I get on my Windows machine from "ipconfig" output. But It yeids nothing. So I get an error saying:

image

I tried finding the config.cfg file to check if I'm putting the correct values, but I couldn't find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants