Cannot Download Images

Need help with your application? Ask here.
Post Reply
chrisrocks85
Posts: 2
Joined: Wed Jul 04, 2018 3:54 am

Cannot Download Images

Post by chrisrocks85 »

Hello,

My python application attempts to download boxart/fanart for games but cannot since the images are hosted at an https: URL.

For testing purposes, I have also tried using download programs and they too fail to download all images.

Example URL as per result of Image by Game ID Request: https://cdn.thegamesdb.net/images/origi ... 2236-1.jpg (works in browser...)

Is there something I am missing so that image download will start working?

Do requests to the image URL need to include an API key, and if so please provide an example on how to properly format the URL.

Thanks in advance for your help.

Leo_Pride
Posts: 630
Joined: Mon Apr 23, 2018 2:10 am

Re: Cannot Download Images

Post by Leo_Pride »

I'll issue you an API key, Swagger docs should provide the examples you're seeking.
We're curious to see how new projects use TGDB API.
If you have a new public project, please provide a link to it so we can highlight cool new applications! 8-)

Leo_Pride
Posts: 630
Joined: Mon Apr 23, 2018 2:10 am

Re: Cannot Download Images

Post by Leo_Pride »

Hello!

You've been granted an API key which you can access through this page.

Please check the Announcements forum on a regular basis to ensure compliance with any changes or updates.

Documentation is available on Swagger here.

Thank you for your interest!
~ Leo
We're curious to see how new projects use TGDB API.
If you have a new public project, please provide a link to it so we can highlight cool new applications! 8-)

User avatar
Zer0xFF
Posts: 330
Joined: Fri Apr 20, 2018 9:18 am

Re: Cannot Download Images

Post by Zer0xFF »

you don't need a key, you just need to enable https in your python request.
Regards
Zer0xFF

victorpatrick
Posts: 5
Joined: Tue Jul 25, 2023 1:02 am

Re: Cannot Download Images

Post by victorpatrick »

When downloading images from an HTTPS URL using Python, you typically don't need an API key unless the server hosting the images explicitly requires authentication for access. The standard approach to downloading images from HTTPS URLs in Python involves using the requests library.
Rainbow Friends: Chapter 2

Post Reply