I'm using Giphypop
to retrieve the url of a gif
. I saved this url in a variable for convenience, but now I need to somehow save the gif
to file. But I'm getting an error.
I think this can be reopened. My problem is Windows not opening the gif
file after saving. Here is the code and a screenshot of the problem, sorry I couldn't post earlier.
Code:
import giphypop
from urllib import request
g = giphypop.Giphy()
request.urlretrieve("http://giphy.com/gifs/fullerhouse-3oz8xJfB6XGBwOA8HS", "test.gif")
Screenshot: