Skip to content

getVideo() giving "***Video not available in your country***" despite IP not being in a restricted region #20

Open
@AcGW-RErCotWd

Description

@AcGW-RErCotWd

Seems like there is an error on line 172 of videos.py:
script_data = self._scrapScriptInfo(soup_data.find("script", type="application/ld+json").text)

the return of soup_data.find("script", type="application/ld+json").text is an empty string

Furthermore, this error seems to happen inside the _scrapScriptInfo() method on line 135, where json.loads() method raise the following:
Expecting value: line 1 column 1 (char 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions