Ejemplo n.º 1
0
def test_crawler_bad_format():
    url = "http://www.1linkedin.com/in/vasylvaskul"
    crawler = LinkedinCrawler()
    try:
        items = crawler.start(url)
    except BadFormatError:
        print "items=", items
        print ">>>>>>>>>>>>>>>>>Wrong URL"
Ejemplo n.º 2
0
def test_crawler_bad_format():
	url = "http://www.1linkedin.com/in/vasylvaskul"	
	crawler = LinkedinCrawler()	
	try:		
		items = crawler.start(url)	
	except BadFormatError:
		print "items=",items
		print ">>>>>>>>>>>>>>>>>Wrong URL"
Ejemplo n.º 3
0
def test_crawler():
    url = "http://www.linkedin.com/in/vasylvaskul"
    crawler = LinkedinCrawler()
    items = crawler.start(url)
    print "items=", items
    assert items
Ejemplo n.º 4
0
def test_crawler():
	url = "http://www.linkedin.com/in/vasylvaskul"
	crawler = LinkedinCrawler()
	items = crawler.start(url)
	print "items=",items
	assert items