|
jwk345Oct 31, 2014
1
先把该用户的 https://github.com/{name}?tab=repositories 这个页面里所有 repo-list-name 爬下来,在一个一个 clone
|
|
aliuwrOct 31, 2014
2
|
|
juicyOct 31, 2014
3
受 @aliuwr 启发,在他的答案上加了一句,这样一个指令就够了
https://gist.github.com/melon/9c2fd88c6705daeecdab 本来是希望从解析网页内容来得到地址的 [].slice.call(document.querySelectorAll('.repo-list-name a')).map(function(e){return document.location.origin+document.location.pathname+'/'+e.text.trim()+'.git';}).join(' ') |