Python Forum
HTTPError: Forbidden when try download image
Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTPError: Forbidden when try download image
#4
(Jan-20-2017, 07:55 PM)Larz60+ Wrote: what gets printed from: its show image URL
print(url)
what the heck is this? i use this because i cant open thread when its link , i use this like seening your write
imdbUrl="htt"+"ps:"+"//alpha.wallhaven.cc"+"/random?page=4"
why not
imdbUrl = 'https://alpha.wallhaven.cc/random?page=4'

(Jan-20-2017, 08:43 PM)wavic Wrote: According to documentation there is no urllib.request.get() method. I didn't find it. There is urllib.request.urlopen()
It's better to use Requests

please write it for me , i cant understand anything
Reply


Messages In This Thread
RE: HTTPError: Forbidden when try download image - by b33g33 - Jan-20-2017, 10:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  403 Forbidden Error Evil_Patrick 1 4,483 Jun-20-2020, 02:19 PM
Last Post: snippsat
  urllib.error.HTTPError: HTTP Error 404: Not Found ckkkkk 4 8,818 Mar-03-2020, 11:30 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020