Giter VIP home page Giter VIP logo

Comments (3)

sajidrahman avatar sajidrahman commented on July 23, 2024 2

Hi, I'm having this same error. I'm running play-scraper with Python 3, which was completely functional till last week.

print(play_scraper.details('com.android.chrome'))

~/Documents/code/code-in-python3/lib/python3.7/site-packages/play_scraper/api.py in details(app_id, hl, gl)
    20     """
    21     s = scraper.PlayScraper(hl, gl)
---> 22     return s.details(app_id)
    23 
    24 

~/Documents/code/code-in-python3/lib/python3.7/site-packages/play_scraper/scraper.py in details(self, app_id)
    81                 app=app_id, error=e))
    82 
---> 83         app_json = parse_app_details(soup)
    84         app_json.update({
    85             'app_id': app_id,

~/Documents/code/code-in-python3/lib/python3.7/site-packages/play_scraper/utils.py in parse_app_details(soup)
   238     """
   239     title = soup.select_one('h1[itemprop="name"] span').text
--> 240     icon = (soup.select_one('.dQrBL img.ujDFqe')
   241                 .attrs['src']
   242                 .split('=')[0])

AttributeError: 'NoneType' object has no attribute 'attrs'

from play-scraper.

danieliu avatar danieliu commented on July 23, 2024

Duplicate of #42

from play-scraper.

danieliu avatar danieliu commented on July 23, 2024

Fixed by #43

from play-scraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.