خرید بک لینک

Vote count: 0

Need help formatting my Python web scrape . For whatever reason when I get the info I need it seems that the words have been tabbed out of place and not sure how to fix it.

Any help is appreciated

Thanks

import requests
from bs4 import BeautifulSoup

r = requests.get("http://www.canadianappliance.ca/Refrigerators-And-Fridges-3/Full-Size-Refrigerators-38/French-Door-Refrigerators-48/?per_page=all")

r.content

soup = BeautifulSoup(r.content)


g_data = soup.find_all("h2", {"class": "product_link"})

for item in g_data:
    print (item.text)

asked 51 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 31 خرداد 1395 ساعت: 4:19

صفحه بندی