分享111个JS时钟代码特效,总有一款适合您
111个JS时钟代码特效下载链接:https://pan.baidu.com/s/1rCNi5HMvuSwjRibS28EW-g?pwd=6tvh
提取码:6tvh
Python采集代码下载链接:https://wwgn.lanzoul.com/iKGwb0kye3wj
数字块状时钟html简单代码
html5创意罗盘时钟代码
红色svg日期时钟动画
js制作动态时钟特效
环形动画进度数字时钟
html+js+css实现方块立体时钟
炫酷的jQuery二进制数字时钟
jQuery制作3D冰块立方时钟
jQuery+CSS3模拟时钟特效
基于CREATEJS库数字时钟代码
HTML5带控件的时钟特效
CSS3弹性跳动的浮雕时钟代码
创意数字矩阵时钟CSS3特效
CSS3西瓜样式的指针时钟特效
JS+CSS3圆形时钟走动特效
vue.js科技风数字时钟特效
JS+CSS3创意方形日期时钟特效
JS图片滚动切换数字时钟代码
HTML5圆盘时钟自定义设置代码
class ChinaZJsSelenium: base_url = "https://sc.chinaz.com/" # 采集的网址 save_path = "D:\\Freedom\\Sprider\\ChinaZ\\" sprider_count = 111# 采集数量 sprider_start_count=0 word_content_list = [] folder_name = "" page_end_number=0 max_pager=20 #每页的数量 haved_sprider_count =0 # 已经采集的数量 page_count = 1 # 每个栏目开始业务content="text/html; charset=gb2312" filter_down_file=[] def __init__(self): pass def sprider(self,title_name): """ 采集 图片切换 https://sc.chinaz.com/tag_jiaoben/tupianqiehuan.html 返回顶部 https://sc.chinaz.com/tag_jiaoben/fanhuidingbu.html 动画效果 https://sc.chinaz.com/tag_jiaoben/donghuaxiaoguo.html 倒计时 https://sc.chinaz.com/tag_jiaoben/daojishi.html 弹出层 https://sc.chinaz.com/tag_jiaoben/danchuceng.html 在线客服 https://sc.chinaz.com/jiaoben/kefu.html 手风琴 https://sc.chinaz.com/tag_jiaoben/shoufengqin.html 表单脚本 https://sc.chinaz.com/tag_jiaoben/biaodan.html 文字特效 https://sc.chinaz.com/tag_jiaoben/wenzitexiao.html 滚动条 https://sc.chinaz.com/tag_jiaoben/gundongtiao.html 瀑布流 https://sc.chinaz.com/tag_jiaoben/pubuliu.html 时钟代码 https://sc.chinaz.com/tag_jiaoben/shizhong.html :return: """ if title_name == "图片切换": self.first_column_name = "tag_jiaoben" self.folder_name = "图片切换JS特效" self.second_column_name = "tupianqiehuan" elif title_name == "时钟代码": self.first_column_name = "tag_jiaoben" self.folder_name = "JS瀑时钟代码" self.second_column_name = "shizhong" elif title_name == "瀑布流": self.first_column_name = "tag_jiaoben" self.folder_name = "JS瀑布流特效" self.second_column_name = "pubuliu" elif title_name == "滚动条": self.first_column_name = "tag_jiaoben" self.folder_name = "JS滚动条特效" self.second_column_name = "gundongtiao" elif title_name == "文字特效": self.first_column_name = "tag_jiaoben" self.folder_name = "JS文字特效" self.second_column_name = "wenzitexiao" elif title_name == "表单脚本": self.first_column_name = "tag_jiaoben" self.folder_name = "JS表单脚本" self.second_column_name = "biaodan" elif title_name == "返回顶部": self.folder_name = "JS返回顶部特效" self.second_column_name = "fanhuidingbu" elif title_name == "动画效果": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效动画效果" self.second_column_name = "donghuaxiaoguo" elif title_name == "倒计时": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效倒计时" self.second_column_name = "daojishi" elif title_name == "弹出层": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效弹出层" self.second_column_name = "danchuceng" elif title_name == "在线客服": self.first_column_name = "jiaoben" # 一级目录 self.folder_name = "JS特效在线客服" self.second_column_name = "kefu" elif title_name == "手风琴": self.first_column_name = "tag_jiaoben" self.folder_name = "JS特效手风琴" self.second_column_name = "shoufengqin" BaseFrame().right("本次采集参数:sprider_count=" + str(self.sprider_count) + "") BaseFrame().right("本次采集参数:title_name="+title_name+"") BaseFrame().right("本次采集参数:second_column_name=" + self.second_column_name + "") self.sprider_category = title_name # 一级目录self.folder_name second_folder_name = str(self.sprider_count) + "个" + self.folder_name #二级目录 self.sprider_type =second_folder_name self.merchant=int(self.sprider_start_count) //int(self.max_pager)+1 #起始页码用于效率采集 #原始路径+一级目录+二级目录 self.file_path = self.save_path + os.sep + "JS" + os.sep + self.folder_name + os.sep + second_folder_name self.save_path = self.save_path+ os.sep + "JS" + os.sep+self.folder_name +os.sep + second_folder_name+ os.sep + self.folder_name BaseFrame().debug("开始采集ChinaZJS"+self.folder_name+"源码...") sprider_url = (self.base_url + "/{1}/{0}.html".format(self.second_column_name,self.first_column_name)) down_path="D:\\Freedom\\Sprider\\ChinaZ\\JS\\"+self.folder_name +"\\"+second_folder_name+"\\Temp\\" if os.path.exists(down_path) is True: shutil.rmtree(down_path) if os.path.exists(down_path) is False: os.makedirs(down_path) if os.path.exists(self.save_path ) is True: shutil.rmtree(self.save_path ) if os.path.exists(self.save_path ) is False: os.makedirs(self.save_path ) chrome_options = webdriver.ChromeOptions() diy_prefs ={'profile.default_content_settings.popups': 0, 'download.default_directory':'{0}'.format(down_path)} # 添加路径到selenium配置中 chrome_options.add_experimental_option('prefs', diy_prefs) chrome_options.add_argument('--headless') #隐藏浏览器 # 实例化chrome浏览器时,关联忽略证书错误 driver = webdriver.Chrome(options=chrome_options) driver.set_window_size(1280, 800) # 分辨率 1280*800 # driver.get方法将定位在给定的URL的网页,get接受url可以是任何网址,此处以百度为例 driver.get(sprider_url) # content = driver.page_source element_list = driver.find_elements(By.CLASS_NAME, "picblock") # 列表页面 核心内容 #element_list = div_elem.find_elements(By.CLASS_NAME, 'item') #print(element_list.get_attribute('innerHTML')) laster_pager_div = driver.find_element(By.CLASS_NAME, "fenye") laster_pager_a =laster_pager_div.find_elements(By.TAG_NAME, 'a') laster_pager_url = laster_pager_a[len(laster_pager_a) - 2] page_end_number = int(laster_pager_url.text) self.page_count=self.merchant while self.page_count <= int(page_end_number): # 翻完停止 try: if self.page_count == 1: self.sprider_detail(driver,element_list,self.page_count,page_end_number,down_path) pass else: if self.haved_sprider_count == self.sprider_count: BaseFrame().debug("采集到达数量采集停止...") BaseFrame().debug("开始写文章...") self.builder_word(self.folder_name, self.word_content_list) BaseFrame().debug("文件编写完毕,请到对应的磁盘查看word文件和下载文件!") break #(self.base_url + "/sort/{0}/{1}/".format(url_index, self.page_count)) #http://soft.onlinedown.net/sort/177/2/ #https://sc.chinaz.com/tag_jiaoben/tupianqiehuan_2.html next_url = self.base_url + "/tag_jiaoben/{0}_{1}.html".format(self.second_column_name, self.page_count) driver.get(next_url) element_list = driver.find_elements(By.CLASS_NAME, "picblock") # 列表页面 核心内容 self.sprider_detail( driver, element_list, self.page_count, page_end_number, down_path) pass #print(self.page_count) self.page_count = self.page_count + 1 # 页码增加1 except Exception as e: print("sprider()执行过程出现错误:" + str(e)) sleep(1)
jQuery卡片式翻转时钟特效
JS+CSS3创意时间轮盘时钟特效
JS+CSS3电子数字时钟代码
SVG科技感十足的本地时钟特效
HTML5圆形的彩虹时钟特效
JS+CSS3黑色创意时钟代码
CSS3书架上的时钟特效
css3立体3d数字时钟滚动特效
圆形的摇摆时钟CSS3特效
彩色圆点时钟CSS3特效
HTML5 SVG本地时钟代码
CSS3卡通西瓜指针时钟特效
jQuery创意圆形罗盘时钟代码
HTML5 SVG数字变形时钟特效
HTML5 SVG圆环数字时钟特效
像素方块时钟CSS3特效
HTML5 SVG彩色文字时钟特效
jQuery实时节气罗盘时钟代码
HTML5罗马时钟指针特效
粘液状数字时钟CSS3特效
js+css3智能手表时钟代码
jQuery创意圆环指针时钟代码
js圆形数字时钟代码
js圆形虚线指针时钟特效
js时钟带文本标签月份和星期
js+css3圆形时钟矢量动画
HTML5 3D液晶数字时钟特效
js仿抖音罗盘时钟代码
JS+CSS3在线指针时钟图标特效
CSS3抖音网红文字时钟特效
HTML5 SVG创意圆圈时钟特效
HTML5 Canvas水里数字时钟特效
原生js基于css3圆形时钟特效
jQuery+CSS3圆形温度计代码
jQuery带日期跟星期时钟代码
HTML5 SVG多边形粒子时钟动画特效
HTML5 Canvas创意时钟特效
html5 canvas猫头鹰时钟代码
HTML5个性圆弧时钟动画特效
jQuery八卦图背景时钟代码
JS酷炫红色LED数字时钟代码
简洁白色的HTML5时钟代码
vue.js数字时钟本地时间代码
CSS3时钟圆形立体倒计时代码
CSS3创意个性数字时钟动画特效
LED电子屏数字时钟JS代码
js css3数字时钟时分秒代码
HTML5 Canvas爱心时钟代码
创意刻度尺圆形数字时钟代码
analogClock.js时钟插件
js+css3罗马数字指针时钟代码
jQuery+CSS3双表盘时钟代码
HTML5 Canvas粒子数字时钟特效
js图片数字时钟走动代码
jQuery+CSS3指针时钟特效
15款基于canvas时钟特效
HTML5 Canvas指针时钟表特效
HTML5 Canvas圆形灯笼时钟动画特效
jQuery数字跟指针时钟一体特效
html5 canvas圆形时钟代码
HTML5带表盘和数字刻度时钟代码
js+html5实现简易指针时钟表代码
jQuery+CSS3实现黑色圆形时钟代码
js+css3带星期和日期时钟代码
HTML5 Canvas日期圆形时钟代码
import os def void_file(dirPath): dirs = os.listdir(dirPath) # 查找该层文件夹下所有的文件及文件夹,返回列表 for file in dirs: file_full_name = dirPath + '/' + file file_ext = os.path.splitext(file_full_name)[-1] if file_ext is None or file_ext=="": continue if "rar" == str(file_ext.split(".")[1]): os.remove(file_full_name) if "zipt" == str(file_ext.split(".")[1]): os.remove(file_full_name) if "gz" == str(file_ext.split(".")[1]): os.remove(file_full_name) if "tgz" == str(file_ext.split(".")[1]): os.remove(file_full_name) # 查找指定文件夹下所有相同名称的文件 def search_file(dirPath, fileName): dirs = os.listdir(dirPath) # 查找该层文件夹下所有的文件及文件夹,返回列表 for currentFile in dirs: # 遍历列表 absPath = dirPath + '/' + currentFile if os.path.isdir(absPath): # 如果是目录则递归,继续查找该目录下的文件 search_file(absPath, fileName) elif currentFile == fileName: print(absPath) # 文件存在,则打印该文件的绝对路径 os.remove(absPath)
jQuery带时钟网站幻灯片代码
CSS3实现指针时钟走动特效
纯html5绘制的本地时钟特效
js+css3扁平化APP图标时钟动画
HTML5 SVG实现布谷鸟时钟特效
css3实现网页电子时钟代码
jQuery带日期的指针时钟特效
HTML5指针平缓转动圆形时钟
jQuery+CSS3线性时钟插件
jquery+css3实现彩色时钟表
纯CSS3实现圆盘时钟动画
HTML5 SVG圆盘时钟动画
jQuery+CSS3跳动数字时间动画
jQuery时钟插件clockpicker
超酷jQuery+CSS3翻页时钟动画
CSS3制作360度旋转时钟表
css3实现灯光高亮时钟效果
获取本地时间的Html5时钟特效
jquery数字读秒的倒计时代码
html5 canvas绘制时钟表时间
css3动画原理制做的指针时钟
jQuery数字时钟插件MyDigitClock
SVG时钟走时图标特效
jQuery带日期的指针时钟
jCountdown倒计时插件jQuery
jQuery超酷平面式时钟效果
jQuery带闹铃数字时钟
最后送大家一首诗:
山高路远坑深,
大军纵横驰奔,
谁敢横刀立马?
惟有点赞加关注大军。