title: Recieving data from qwant API with python (Flask)
body: <p>I am using this "API", to my knowledge, it is just a link who returns json data. Link:
  <a href="https://api.qwant.com/api/search/images?count=10&amp;offset=1&amp;q=stackoverflow" rel="nofollow noreferrer">https://api.qwant.com/api/search/images?count=10&amp;offset=1&amp;q=stackoverflow</a></p>
  
  <p>However when I try to access the data with; </p>
  
  <pre><code>import requests
  import json
  from flask import Flask, flash, redirect, render_template, request, session, url_for, json, jsonify
  
  @app.route("/display")
  def display():
      url = "https://api.qwant.com/api/search/images?count=10&amp;offset=1&amp;q=stackoverflow"
      data = requests.get(url).json()
      return data
  </code></pre>
  
  <p>I get the following error;</p>
  
  <blockquote>
    <p>simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)</p>
  </blockquote>
  
  <p>And I can't seem to find out how to fix this.</p>