from bs4 import BeautifulSoupimport urllib2import urllibimport reimport urlparseparam = raw_input('Please input what your want search')# www.baidu.c.....
分类:
其他好文 时间:
2015-12-06 22:34:46
阅读次数:
169
KindEditor.ready(function(K){ var editor = K.editor({ allowFileManager:true }); // 上传图片 K('#imageBt...
分类:
Web程序 时间:
2015-12-03 21:13:41
阅读次数:
216
在项目中使用了kindeditor,版本是4.1.10,在发布信息的时候,将图片设置成了超链接,在 IE8 或者其他个别浏览器下会自动的为图片加一个蓝色的边框,效果如下图:这个蓝框可以通过修改信息内容的 html 给消除掉,kindeditor 自动生成的代码如下:需要在 img 标签里加上 bor...
分类:
其他好文 时间:
2015-12-03 18:48:48
阅读次数:
101
#coding:utf-8import requestsfrom bs4 import BeautifulSoupimport reDownPath = "/jiaoben/python/meizitu/pic/"import urllibhead = {'User-Agent':'Mozilla/...
分类:
编程语言 时间:
2015-12-03 00:17:58
阅读次数:
231
我用过几个EDITOR,还是比较喜欢KINDEDITOR。这个工作可能最近要用到了,周末在家花时间了解了一下。做了一下备注在这里,以备日后方便查阅。 1.首先去KINDEDITOR的官网下载最新的版本,然后在MVC的CONTENT文件夹下面把下载的包解压放进去。 2.然后看一下VIEW视图做...
分类:
Web程序 时间:
2015-11-28 14:51:50
阅读次数:
177
使用的是asp.net MVC 上传图片。1.下载Kindeditor的对应的包2.html页面@{ Layout = null;} UploadByKindeditor 内容: 3...
分类:
Web程序 时间:
2015-11-26 18:46:01
阅读次数:
213
#coding:utf-8# 作者@in2#抓取完之后,将页面的编码调整为utf-8即可:)import urllib2,bs4from bs4 import BeautifulSoup #导入相关模块h = open('CVE.html','w') #打开CVE.html文件,不存在的话...
分类:
其他好文 时间:
2015-11-25 21:54:13
阅读次数:
369
1 import httplib 2 from HTMLParser import HTMLParser 3 import urlparse 4 import urllib 5 from bs4 import BeautifulSoup 6 import re 7 from time...
分类:
编程语言 时间:
2015-11-24 20:25:34
阅读次数:
262
Project uses a kindeditor3.4UploadContentImgAction 1 @SuppressWarnings("serial") 2 @ParentPackage("control-center") 3 public class UploadContentImg...
分类:
其他好文 时间:
2015-11-24 17:23:12
阅读次数:
228
filterMode: false,K.create('#txt_content', { uploadJson: '/js/kindeditor-4.1.10/upload_json.ashx', fileManagerJson: '/js...
分类:
其他好文 时间:
2015-11-23 16:30:31
阅读次数:
168