
1 sfdye 2014-04-27 10:16:26 +08:00 |
2 rebornix 2014-04-27 11:04:45 +08:00 赞!这些snippet都蛮有价值的。如果吹毛求疵找缺点,就是dependence太多了~ |
3 aec4d 2014-04-27 11:05:23 +08:00 批量获取x-art、女优专辑的磁力链 |
4 smilezino 2014-04-27 11:05:43 +08:00 cool |
5 rayps 2014-04-27 11:36:28 +08:00 写了一些技术含量不高但是又对自己挺实用的 https://github.com/RayPS/Rays_Photoshop_Scripts 一键导出当前文档为PNG到桌面(Web格式) 一键居中图层至选区 https://github.com/RayPS/Get1024icon 一键获取 Appstore 1024尺寸的icon https://github.com/RayPS/2xScaler 一键在 @1x 和 @2x 之间切换 http://lab.rayps.com/lsg/ 一键制作长投影 |
6 PeterD OP @rebornix 主要是依赖requests,linux上安装mpv, mplayer应该很容易吧,另外只要在linux上,wget和aria2都会安装吧。 |
8 emric 2014-04-27 11:58:50 +08:00 cmder 右键增强 https://gist.github.com/unmric/8067104 隐藏启动小脚本 https://gist.github.com/unmric/8727266 windows 自定义任务 https://gist.github.com/unmric/8853168 --- 啊// 才发现我写了那么多 batch.. |
9 emric 2014-04-27 12:02:01 +08:00 发现我作死了.. 没有注释掉 gist.. |
11 wulin 2014-04-27 12:50:53 +08:00 有下载网易music.163.com歌单的脚本吗,嘿嘿 |
12 kenzi 2014-04-27 12:52:11 +08:00 |
14 jacy 2014-04-27 13:12:15 +08:00 |
15 xierch 2014-04-27 13:49:10 +08:00 import sys from PyQt4 import QtGui app = QtGui.QApplication(sys.argv) app.clipboard().setText(u'\u200b') 复制一个 ZWSP(零宽空格)…… |
16 anheiyouxia 2014-04-27 15:15:22 +08:00 via Android 91porn的 if( typeof(so) != 'undefined'){ $('#mediaspace').append('<a href="'+'getfile.php?VID=' +so.getVariable('file') +'&mp4=1&seccode=' +so.getVariable('seccode') +'&max_vid='+so.getVariable('max_vid')+'" target="_blank">高清版下载</a><br>'); $('#mediaspace').append('<a href="'+'getfile.php?VID=' +so.getVariable('file') +'&mp4=0&seccode=' +so.getVariable('seccode') +'&max_vid='+so.getVariable('max_vid')+' " target="_blank">普通版下载<br>'); } |
17 4gShell 2014-04-27 16:20:51 +08:00 @anheiyouxia 这个叼。 |
18 ldehai 2014-04-27 16:52:02 +08:00 有没有抓取视频网站某个电影几分几秒图片的脚本? |
19 gangsta 2014-04-27 20:17:31 +08:00 在没有API的情况下, 用Javascript+Ajax写了一个抓取百度网盘搜索结果到豆瓣条目页面的Chrome扩展 原来是给自己用的,放到Chrome商店后居然有了4000+的安装... https://chrome.google.com/webstore/detail/%E8%B1%86%E7%93%A3%20%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98/phnkdkohjfmfbokjogjfbfmcfocfkebk?hl=zh-CN&gl=CN |
20 leofml 2014-04-27 20:54:05 +08:00 via iPhone @anheiyouxia 1024 |
21 PeterD OP @gangsta 也有人做了一个抓取各种连接的 http://movie.doubanpi.com |
23 kodango 2014-04-27 21:09:23 +08:00 via iPhone 见个人资料页面右侧 github 一栏 |
4 gangsta 2014-04-27 21:24:13 +08:00 @sfdye https://github.com/Suxiaogang/doubanXbaidu @PeterD 赞~ 曾经也想过抓抓电驴和其他网站的资源,不过这个需要服务端的支撑,单独的Chrome Extension抓不来的. 另外就是用起来稍稍有点不便. |
25 anheiyouxia 2014-04-27 21:26:03 +08:00 再说一个,如果你们有人上sis,又主要看第六天魔王的专区的 [事实上用了这些图床的都可以实现直接转换为大图] ,可以用Redirector(https://chrome.google.com/webstore/detail/redirector/lacckjdlmkdhcacjdodpjokfobckjclh),然后导入下面的规则实现在当前帖子将小图直接转换为大图,无需点击小图等待跳转 [发这些不会被关小黑屋吧?] : [{"enabled":1,"match":{"modi":false,"str":"^http://\\w+\\.imgdino\\.com","type":0},"name":"第六天魔王_imgdino_-Referer","repl":{"decode":false,"str":""},"sub":{"modg":false,"modi":false,"str":"-Referer","type":3}},{"enabled":1,"match":{"modi":false,"str":"^http://\\w+\\.imgdino\\.com","type":0},"name":"第六天魔王_imgdino_-thumb","repl":{"decode":false,"str":".jpg"},"sub":{"modg":true,"modi":false,"str":"_thumb.jpg","type":1}},{"enabled":1,"match":{"modi":false,"str":"^http://t\\d.imgchili.net","type":0},"name":"第六天魔王_imgchili.net_T2I","repl":{"decode":false,"str":"i$1"},"sub":{"modg":false,"modi":false,"str":"t(\\d)","type":0}},{"enabled":1,"match":{"modi":false,"str":"^http://t\\d.imgchili.net","type":0},"name":"第六天魔王_imgchili_-Referer","repl":{"decode":false,"str":""},"sub":{"modg":false,"modi":false,"str":"-Referer","type":3}},{"enabled":1,"match":{"modi":false,"str":"^http://img(\\d).imgtiger.com","type":0},"name":"第六天魔王_imgtiger.com_-Referer","repl":{"decode":false,"str":""},"sub":{"modg":false,"modi":false,"str":"-Referer","type":3}},{"enabled":1,"match":{"modi":false,"str":"^http://img(\\d).imgtiger.com","type":0},"name":"第六天魔王_imgtiger.com_-_thumb","repl":{"decode":false,"str":".jpg"},"sub":{"modg":false,"modi":false,"str":"_thumb.jpg","type":1}},{"enabled":1,"match":{"modi":false,"str":"^http://img(\\d).imgtiger.com/","type":0},"name":"第六天魔王_imgtiger_-thumb","repl":{"decode":false,"str":".jpg"},"sub":{"modg":false,"modi":false,"str":"_thumb.jpg","type":1}},{"enabled":1,"match":{"modi":false,"str":"http://img(\\d).imgtiger.com","type":0},"name":"第六天魔王_imgtiger_-Referer","repl":{"decode":false,"str":""},"sub":{"modg":false,"modi":false,"str":"-Referer","type":3}}] |
26 mikj 2014-04-27 22:14:14 +08:00 已经following |
27 ichou 2014-04-27 22:44:04 +08:00 露珠, 你这个虾米的 android api 是自己拆包整理的么? 好像很厉害的样子 哈哈% |
28 MarioLuisGarcia 2014-04-27 22:50:05 +08:00 @anheiyouxia 看了半天才发现是91porn..伤感 |
29 ichou 2014-04-27 22:54:17 +08:00 |
31 hapboy 2014-04-28 05:24:31 +08:00 @wulin @PeterD 网易云音乐 320k API 来源 http://www.v2ex.com/t/96373#r_919597 @zts1993 https://blog.zts1993.com/5357.html |
32 PeterD OP @ichou 虾米的 android api 不是我整理的,来自 http://pastebin.com/cnmYQ3C3 |
33 Tink PRO |
35 baka 2014-04-28 16:39:14 +08:00 |
37 nickelchen 2014-04-29 12:42:14 +08:00 我试用了一下163音乐的下载,很好用啊,赞!已star,下次下91pn玩。 比较好奇的是生成mp3文件链接的算法是如何写就的。 |
38 PeterD OP |
39 nickelchen 2014-04-29 13:39:49 +08:00 soga |
40 wyntau 2014-04-29 18:08:36 +08:00 |
41 PeterD OP |
42 sneezry 2014-04-30 18:35:23 +08:00 @wulin 我写过一个Chrome扩展,可以先一键将歌单所有歌曲都添加进列表,然后再下载全部音乐。https://chrome.google.com/webstore/detail/delggbphnbdcabagfomdehlcjcjgagje |
44 redf 2014-04-30 20:55:59 +08:00 海淀驾校约车脚本 |
45 lightforce 2014-04-30 21:18:21 +08:00 好多干货啊 |
46 zeroday 2014-04-30 23:11:41 +08:00 谢谢楼主非分享,我一直觉得脚本特别酷,可以让计算机自动化完成的工作。我想好好学习编写脚本,让它能帮我解决问题,麻烦您分享一下学习的资料,谢谢了。 |
47 song940 2014-05-01 00:29:01 +08:00 |
49 sanddudu 2014-05-01 09:26:23 +08:00 为什么看了半天居然没有一个bash脚本 运维表示不服 |
53 PeterD OP @zeroday 对于我来说是先有问题,在去看可以解决问题相关的书。我不是计算机专业的,只是想写一些找不到的脚本,让我的问题能够解决,如果有可能我会尽量用别人写的东西,如: youtube-dl,xunlei-lixian,oh-my-zsh,spf13-vim。 如果你想认真地学习编程,推荐你去看看专业的课程: http://stellar.mit.edu/#course_6_sp14 |
55 superwbd 2014-05-03 05:08:37 +08:00 因为OSX上面没有娱乐,没有任何弹幕软件(别和我说AnnotPlayer,那是人用的吗?!),也不能下载弹幕或视频,flash又蛋疼,加上海外网还坑,一怒之下包装了个Mukioplayer到OSX。(https://github.com/superwbd/ABPlayerHTML5-Py--nix ) 然后因为Flash烦人又迁移了ABPlayerHTML5.。。(https://github.com/superwbd/ABPlayerHTML5-Py--nix) 后来又希望下载弹幕和视频,就写了Biligrab,自己下弹幕,视频,自动转码,合并并转成最可靠的MP4封装,支持批量下载,内含3种黑科技,支持海外源切换。。。(https://gist.github.com/superwbd/9605757) 代码都是不大会写的时候弄的,有时间重构一下。 |
56 kcworms 2014-05-03 10:57:10 +08:00 写过一个登陆中国移动的公共热点(我能忍受它)的脚本,因为自己比较懒就做成了和Windows的托盘和计划任务配合的模样。 代码重写过,应该能看吧: https://github.com/krrr/CMCC-EDU-autologin |
57 Linxing 2014-05-03 22:42:25 +08:00 昨晚无聊随便写了个比较没有节操的java抓 http://wanimal.lofter.com/ 的图片 https://github.com/linxing/Donwanimal 没几行代码 |
58 yx30 2014-07-24 17:00:17 +08:00 mark++ |
59 rockyaow 2014-07-24 22:03:58 +08:00 mark |
60 messyidea 2014-08-10 00:36:18 +08:00 马克,都好厉害的样子~ |
61 goodxxx 2014-08-12 13:02:18 +08:00 mark. |
62 gule10 2015-01-09 11:21:16 +08:00 <script src="https://gist.github.com/forthxu/c72f3c614e8d2be62676.js"></script> |
63 gule10 2015-01-09 13:55:25 +08:00 |
64 cshlycxt 2015-03-06 16:47:17 +08:00 via iPhone 大,rsa依赖babun下应该怎么安装啊 |
65 PeterD OP |
70 PeterD OP @cshlycxt mpv去mpv.io下载,解压后找到mpv.exe的路径(如:C:\mpv\mpv.exe) 在buban下执行: cd ~ md bin ln -s C:/mpv/mpv.exe ~/bin ------- 如果要播放wmv,现在还要mplayer,因为我这里mpv播wmv出错,等以后改吧。 |
72 cshlycxt 2015-03-08 10:34:26 +08:00 via iPhone |
74 cshlycxt 2015-03-13 16:14:49 +08:00 via iPhone 大神115.py一直登陆失败如何解决 |
76 la0wei 2015-04-21 15:42:24 +08:00 好牛逼 |
77 MonkLuf 2015-04-26 12:21:11 +08:00 来写个pornhub的? |
80 huaxing 2015-05-10 14:29:48 +08:00 @anheiyouxia 求教~那chrome展怎填? |
81 anheiyouxia 2015-05-11 22:22:42 +08:00 @huaxing 存为.json文件,然后导入即可 |
82 zeroxia 2015-09-03 13:01:30 +08:00 360 云盘有没有类似于百度、迅雷离线、 115 上的 Chrome Exporter 啊,直接导出到 Aria2 去下载的。 这个 python 脚本我在 Ubuntu 2014 上试了下出错,怎么回事? $ ./yunpan.360.cn.py sid=/save Traceback (most recent call last ): File "./yunpan.360.cn.py", line 353, in <module> main (argv ) File "./yunpan.360.cn.py", line 349, in main x.do () File "./yunpan.360.cn.py", line 291, in do self.get_infos () File "./yunpan.360.cn.py", line 187, in get_infos j = self.fix_json (r.text.strip ()) File "./yunpan.360.cn.py", line 151, in fix_json jdata = re.search (r'data:\s*\[.+?\]', ori ).group () AttributeError: 'NoneType' object has no attribute 'group' |
83 zeroxia 2015-09-03 13:07:53 +08:00 确认登录信息正确,还是错误: ```` $ yp -a sid=/save Traceback (most recent call last ): File "/home/zerox/src/iScript/yunpan.360.cn.py", line 353, in <module> main (argv ) File "/home/zerox/src/iScript/yunpan.360.cn.py", line 349, in main x.do () File "/home/zerox/src/iScript/yunpan.360.cn.py", line 291, in do self.get_infos () File "/home/zerox/src/iScript/yunpan.360.cn.py", line 187, in get_infos j = self.fix_json (r.text.strip ()) File "/home/zerox/src/iScript/yunpan.360.cn.py", line 151, in fix_json jdata = re.search (r'data:\s*\[.+?\]', ori ).group () AttributeError: 'NoneType' object has no attribute 'group' ```` |
85 djyde 2015-10-10 01:47:59 +08:00 1024 自动获取该页资源的磁力链!! https://gist.github.com/djyde/29ec2ae8f0321a43fb30/raw/8511a9492113e8aa04d99521b15c192c5cef7075/rm2magnet1024.user.js 效果如图: 默认只检测 t66y ,如果是其它 domain 请自行修改 |
86 mingyun 2016-08-28 18:22:20 +08:00 mark |
87 YzSama 2016-10-19 11:08:35 +08:00 300+ 的收藏, XD 哈哈哈 |