#!/usr/bin/env python __all__ = ['douban_download'] import urllib.request, urllib.parse from ..common import * def douban_download(url, output_dir = '.', merge = True, info_only = False): html = get_html(url) if 'subject' in url: titles = re.findall(r'data-title="([^"]*)">', html) song_id = re.findall(r'