raulr / google-play-scraper

A PHP scraper to get app data from Google Play
MIT License
125 stars 65 forks source link

The current node list is empty #2 #5

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi,

i'm experiencing the same issue as in #3 when trying to read https://play.google.com/store/apps/details?id=com.king.farmheroessupersaga&hl=ko&gl=us

InvalidArgumentException Object
(
    [message:protected] => The current node list is empty.
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /vendor/symfony/dom-crawler/Crawler.php
    [line:protected] => 516
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /vendor/raulr/google-play-scraper/src/Scraper.php
                    [line] => 120
                    [function] => attr
                    [class] => Symfony\Component\DomCrawler\Crawler
                    [type] => ->
                    [args] => Array
                        (
                            [0] => content
                        )

                )

            [1] => Array
                (
                    [file] => /api.php
                    [line] => 64
                    [function] => getApp
                    [class] => Raulr\GooglePlayScraper\Scraper
                    [type] => ->
                    [args] => Array
                        (
                            [0] => com.king.farmheroessupersaga
                            [1] => ko
                            [2] => us
                        )

                )

            [2] => Array
                (
                    [file] => /details.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /api.php
                        )

                    [function] => require
                )

        )

    [previous:Exception:private] => 
)
raulr commented 8 years ago

I don't get any Exception on that app. The content may have changed, are you still getting that error?

ghost commented 8 years ago

Yeah, seems to work now. Ty anyways.

wyzhcn commented 7 years ago

same error with package com.ENP.thehorn.kr.googleplay and com.nintendo.zara