Giter Site home page Giter Site logo

rbtv-dl's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rbtv-dl's Issues

Can't install requirements

# pip3 install json 
ERROR: Could not find a version that satisfies the requirement json (from versions: none)
ERROR: No matching distribution found for json
# pip3 install re
ERROR: Could not find a version that satisfies the requirement re (from versions: none)
ERROR: No matching distribution found for re

Also the -y flag doesn't seem to work

Errors when trying to download any video from RedBull

The script used to work for me last year.
I tried to download something recently and got always the same errors:

$ python3 rbtv-dl.py https://www.redbull.com/gb-en/videos/any-video-from-red-bull-website
Traceback (most recent call last):
  File "/home/username/rbtv-dl.py", line 100, in <module>
    response=json.load(StringIO(getvideo_return.text))
  File "/usr/lib/python3.10/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Any help please?

Many thanks

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

# python3 rbtv-dl.py https://www.redbull.com/gb-en/episodes/wide-boyz-reel-rock-s01-e05
Traceback (most recent call last):
  File "rbtv-dl.py", line 55, in <module>
    title = title.replace(char,'-')
AttributeError: 'NoneType' object has no attribute 'replace'

This is what I get. Assume it can't get the html if I can't even extract the title.

ERROR: No matching distribution found for re

May be similar to:
#1

When trying to run:
pip3 install requests bs4 re

I get:

ERROR: Could not find a version that satisfies the requirement re (from versions: none)
ERROR: No matching distribution found for re

Is it included in the python now and doesn't need to be installed separately any longer?

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.