Hint: You can adjust the default video playback speed in your account settings.

The GET Request

Give Feedback

This lesson covers the HTTP GET request in general and how to create one using the requests library in specific. You’ll also get a short introduction to response status codes.

Comments & Discussion

Kane wadel on April 23, 2019

please do you have link for install bpython on windows to use the autocompletion on the visual studio code terminal

Chris Bailey RP Team on April 23, 2019

Hi Kane. Dan Bader made a tutorial about using bpython on his site dbader.org Here is a link. And here is a link to the bpython homepage where it shows installing using Pip.

apyle0710 on April 27, 2019


I keep the getting the following error. Have Google dozens of times looking for a fix, but can’t find it. Would greatly appreciate any help!

(base) Andrew-XXXXXXX-MacBook-Air:Desktop andrewXXXXXX$ python3 scraper1.py Traceback (most recent call last):

File “scraper1.py”, line 1, in <module> import requests File “/Users/andrewXXXXXXXXXX/Desktop/requests.py”, line 4, in <module> requests.get(url) AttributeError: module ‘requests’ has no attribute ‘get’

Dan Bader RP Team on April 28, 2019

@apyle0710: Looks like you have a file named requests.py in your app folder. And that’s the requests.py file that Python imports when you do the import requests. So the problem is that your local file shadows (overrides) the requests library you’re trying to import. The easiest solution is to rename your local file to something else. Hope this helps :)

Become a Member to join the conversation.