
前端技术
文章平均质量分 85
html,js,css
github.com/starRTC
这个作者很懒,什么都没留下…
展开
-
Scrapy爬虫入门系列3 将抓取到的数据存入数据库与验证数据有效性
抓取到的item 会被发送到Item Pipeline进行处理Item Pipeline常用于cleansing HTML datavalidating scraped data (checking that the items contain certain fields)checking for duplicates (and dropping them)storing the原创 2017-11-09 16:03:42 · 977 阅读 · 0 评论 -
Scrapy爬虫入门系列4抓取豆瓣Top250电影数据
豆瓣有些电影页面需要登录才能查看。目录 [隐藏] 1 创建工程2 定义Item3 编写爬虫(Spider)4 存储数据5 配置文件6 艺搜参考创建工程scrapy startproject doubanmoive定义Item# -*- coding: utf-8 -*- # Define here th原创 2017-11-10 12:24:38 · 1375 阅读 · 0 评论 -
js jQuery 右键菜单 清屏
主要用到了oncontextmenu事件,在oncontextmenu事件中使用return false 屏蔽掉原生右键菜单,再使用event获取鼠标的坐标位置,设置自定义菜单的位置。 http://swisnl.github.io/jQuery-contextMenu/demo.htmlhttps://swisnl.github.io/jQuery-contextMenu/docs....原创 2018-10-17 14:06:30 · 353 阅读 · 0 评论