'Request the url service and put the result in the queue_target'

def _get_ip_public(self, queue_target, url, json=False, key=None):

    try:
        response = urlopen(url, timeout=self.timeout).read().decode('utf-8')
    except Exception as e:
        logger.debug('IP    plugin    -    Cannot    open    URL    {}    ({})'.format(url, e))
        queue_target.put(None)
    else:
        try:
            if (not json):
                queue_target.put(response)
            else:
                queue_target.put(loads(response)[key])
        except ValueError:
            queue_target.put(None)
