Deepakchawla / Mobile-Phone-Dataset-GSMArena

Python script for creating Mobile Phones Dataset on GSMArena website.
MIT License
59 stars 46 forks source link

NoneType object has no attribute 'text' #15

Open himanshu64 opened 3 years ago

himanshu64 commented 3 years ago

Traceback (most recent call last): File "scrape.py", line 155, in obj.save_specification_to_file() File "scrape.py", line 131, in save_specification_to_file datum = self.crawl_phones_models_specification(value, brand[0]) File "scrape.py", line 77, in crawl_phones_models_specification modelname = soup.find(class='specs-phone-name-title').text AttributeError: 'NoneType' object has no attribute 'text'

oldmonkABA commented 3 years ago

I am getting the same error

patelanand553 commented 3 years ago

found any solution.?