def spider(self, request): """ description: 电影简介爬虫 - 从豆瓣电影取数据 parameters: - name: tag type: string required: true location: query description: 热门/ - name: type type: string required: true location: query description: movie / tv """ m_type = request.GET.get('type', 'movie') m_tag = request.GET.get('tag', '热门') return utils.get_movie_simple(m_type, m_tag)
def auto_get_movie_simple_5(): get_movie_simple('tv', '日剧')
def auto_get_movie_simple_6(): get_movie_simple('tv', '韩剧')
def auto_get_movie_simple_4(): get_movie_simple('tv', '美剧')
def auto_get_movie_simple_3(): get_movie_simple('tv', '国产剧')
def auto_get_movie_simple_2(): get_movie_simple('tv', '热门')
def auto_get_movie_simple_1(): get_movie_simple('movie', '最新')
def auto_get_movie_simple_0(): get_movie_simple('movie', '热门')