Beispiel #1
0
 def __init__(self):
     Resource.__init__(self, "http://news.ycombinator.com")
Beispiel #2
0
 def __init__(self, city, name):
     city = city.replace(',', '').replace(' ', '-')
     name = name.replace(' ', '-')
     Resource.__init__(self,
                       "http://www.yellowpages.com/%s/%s" % (city, name))
Beispiel #3
0
 def __init__(self):
     Resource.__init__(self, "http://news.ycombinator.com")
Beispiel #4
0
 def __init__(self, url):
     Resource.__init__(self, url)
     print("Scraping page %s ... ... ..." % url)
Beispiel #5
0
 def __init__(self, url):
     Resource.__init__(self, url)
     print("Scraping page %s ... ... ..." % url)
 def __init__(self, city, name):
     city = city.replace(',', '').replace(' ', '-')
     name = name.replace(' ', '-')
     Resource.__init__(self, "http://www.yellowpages.com/%s/%s" % (city, name))