Closed zhangn1985 closed 7 years ago
支持现在的网站应该没什么问题,国内站点问题都不大
问题在于co.uk
co.jp
这种(ykdl不一定会考虑这些站)
感觉有两种方法能算“解决”这个问题
一种是维护一个长长的exclude_list
把顶级域名都放进去
另一种是
supported_sites = ['youku', 'tudou', 'iqiyi', 'qq']
for site in supported_sites:
if site in url:
#do sth.
https://github.com/zhangn1985/ykdl/commit/8a6e40f67162c762c3906b5c541e32b97cbddf01 detail:
due change the core algorithm for getting domain, it may lead to some issue, even i have done some test. 因为改变了获取domain的核心算法,尽管我做了一些测试,但不免还会出现一些问题。 if you meet some problem, please comment blow. 如果你发现了一些问题,请在下面留言。 this issue will keep opened before end of next week. 这个问题会一直开启直到下周末。