def query():
    """Query hot movies infomation from douban."""

    r = requests_get(QUERY_URL)

    try:
        rows = r.json()['subject_collection_items']
    except (IndexError, TypeError):
        rows = []

    return MoviesCollection(rows)
Query hot movies infomation from douban.