Esempio n. 1
0
 def __init__(self):
     Resource.__init__(self, "http://news.ycombinator.com")
Esempio n. 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))
Esempio n. 3
0
 def __init__(self):
     Resource.__init__(self, "http://news.ycombinator.com")
Esempio n. 4
0
 def __init__(self, url):
     Resource.__init__(self, url)
     print("Scraping page %s ... ... ..." % url)
Esempio n. 5
0
 def __init__(self, url):
     Resource.__init__(self, url)
     print("Scraping page %s ... ... ..." % url)
Esempio n. 6
0
 def __init__(self, city, name):
     city = city.replace(',', '').replace(' ', '-')
     name = name.replace(' ', '-')
     Resource.__init__(self, "http://www.yellowpages.com/%s/%s" % (city, name))