lord63

Results 17 comments of lord63

Sounds good, I'll take a look at the pr in the weekend and ping you back later.

Is it compatible if someone download the repo before master renamed to main? Because main branch may not exist and you can't checkout to it.

How about this: ``` main_branch = "master" if subprocess.call('git rev-parse --verify main'.split()) == 0: # check if main branch exist main_branch = "main" local = subprocess.check_output('git rev-parse {0}'.format(main_branch).split()).strip() remote =...

Tested in my local environment, still works. tldr-pages repo still has master branch and it is even with main. But I agree that we should switch to use the main...

换了个cookie似乎好了,继续观察。。。

@PeterDing https://github.com/PeterDing/iScript/blob/master/115.py#L35 这里应该要用 `[` 的吧? 在我这(python 2.7.9)下会把 `{'a', 'b', 'c'}` 转成一个 set,应该用 list 就行了吧? > mediatype = { > ".wma", ".wav", ".mp3", ".aac", ".ra", ".ram", ".mp2", ".ogg", ".aif", > ".mpega",...

@PeterDing 不知为何要用 `{}`?2.6.9 下测试失败。 ``` >>> {'a', 'b'} File "", line 1 {'a', 'b'} ^ SyntaxError: invalid syntax ```

试试 [swiftype](https://swiftype.com/) ?在自己的 wiki 里可以加这个作为搜索,比较简单。 具体的搜索效果由于我用的不是很多,所以不好评价。 具体的例子可以参考这个 [blog](http://wklken.me) 的右下角的那个东西, 我的 wiki 站点就不拿出来了 =。=

Possible duplicated for #49

目前爬虫是从热门歌单中爬取歌单的,也就是说如果某一个歌单,比如说收藏人数有 100w, 但是它从来不出现在热门歌单中,那么我的爬虫是无法爬取到这个歌单的。 所以,理论上来说,只要播放数,评论数,收藏数,分享数高的歌单会在网易云音乐的热门歌单中出现,那么只要有时间来积淀,理论上来说我的爬虫是有机会去爬取它的,否则它是不知道的。