scrape Url and text from website using lxml python
<p>I don't know much about lxml and xpaths and I want to learn how to scrape data from website. When I run this code I don't get any results and don't know why. Please help me to fix it.</p>

<p>code here</p>

<pre><code>from lxml import html
import requests
pageLen=str(100)
page = requests.get('http://www.yellowpages.com/search?search_terms=lawyer&amp;geo_location_terms=usa&amp;page=2')
print(page)
tree = html.fromstring(page.content)
#phoneNumber = tree.xpath('//span[@class="c411Phone"]/text()')
Link=tree.xpath('//div[@class="info"]/a/@href')
Bname=tree.xpath('//a[@class="business-name"]/text()')
print(Bussiness_names)
print(Bname)
</code></pre>

<p>HTML CODE</p>

<p><img src="http://i.stack.imgur.com/Ar0oG.png" alt="enter image description here"></p>

<p>Thank you @Abd Azrad. Your solution helped me a lot.</p>

<p>Can you please further guide me? I am confused how to deal with inconsistent data? 
Sometimes, there are postal address missing and sometimes location missing. I just want to ignore that data which does not fulfill my requirements.<br>
<code>
        page = requests.get('http://www.yellowpages.com/search?search_terms=%s&amp;geo_location_terms=%s&amp;page=%s'%("lawyer","toronot","2"))
        tree = html.fromstring(page.text)
        bus_names=tree.xpath('//a[@class="business-name"]/text()')
        print bus_names
        ##bus_url=tree.xpath('//a[@class="business-name"]/href()')
        ##print bus_url
        street_ad=tree.xpath('//span[@class="street-address"]/text()')
        print(street_ad)
        loc=tree.xpath('//span[@class="locality"]/text()')
        print(loc)
        postal=tree.xpath('//span[@itemprop="postalCode"]/text()')
        print(postal)
        contact=tree.xpath('//div[@class="phones phone primary"]/text()')
        print(contact)</code></p>

<p>In this way I am getting list and I failed to keep track data because lists lenght is not same. Is there any way to get data of every person in list and all data in form of 2d list [[person_one_name,person_one_address],[person_two_name,person_two_contact]]?</p>

python web-scraping lxml