diff --git a/document/git_study/.keep b/document/git_study/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/document/git_study/20190813_裴恩政_网络编程综合实验.txt b/document/git_study/20190813_裴恩政_网络编程综合实验.txt deleted file mode 100644 index aa0fa9732..000000000 --- a/document/git_study/20190813_裴恩政_网络编程综合实验.txt +++ /dev/null @@ -1,2 +0,0 @@ -abcdefg -真好 好吃的不得了 diff --git a/document/git_study/20190819-祝健洵-网络编程实验课.txt b/document/git_study/20190819-祝健洵-网络编程实验课.txt deleted file mode 100644 index 224fd2305..000000000 --- a/document/git_study/20190819-祝健洵-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -lala diff --git a/document/git_study/20191328-王星洋-网络编程实验课.txt b/document/git_study/20191328-王星洋-网络编程实验课.txt deleted file mode 100644 index 0b749eb38..000000000 --- a/document/git_study/20191328-王星洋-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -test_exam \ No newline at end of file diff --git a/document/git_study/20191512郭佳宝-网络编程实验.txt b/document/git_study/20191512郭佳宝-网络编程实验.txt deleted file mode 100644 index fa5beb0fd..000000000 --- a/document/git_study/20191512郭佳宝-网络编程实验.txt +++ /dev/null @@ -1 +0,0 @@ -20191512郭佳宝 diff --git a/document/git_study/20191905-邢思凝-网络编程实验课.txt b/document/git_study/20191905-邢思凝-网络编程实验课.txt deleted file mode 100644 index a9b9cd5fa..000000000 --- a/document/git_study/20191905-邢思凝-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -push diff --git a/document/git_study/20191912-马骥-网络编程实验课.txt b/document/git_study/20191912-马骥-网络编程实验课.txt deleted file mode 100644 index 83c831f0b..000000000 --- a/document/git_study/20191912-马骥-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -# test diff --git a/document/git_study/20191928任祉涵.txt b/document/git_study/20191928任祉涵.txt deleted file mode 100644 index a5e2c8162..000000000 --- a/document/git_study/20191928任祉涵.txt +++ /dev/null @@ -1 +0,0 @@ -20191928任祉涵 diff --git a/document/git_study/24190826-晏凯-网络编程实验.txt b/document/git_study/24190826-晏凯-网络编程实验.txt deleted file mode 100644 index 4db4a9952..000000000 --- a/document/git_study/24190826-晏凯-网络编程实验.txt +++ /dev/null @@ -1,10 +0,0 @@ - -public class firstClass { - - public static void main(String[] args) { - System.out.print("hello Lyon"); - - } -} - - diff --git a/document/git_study/25190719-周跃飞-网络编程实验课.txt b/document/git_study/25190719-周跃飞-网络编程实验课.txt deleted file mode 100644 index 74a8752d8..000000000 --- a/document/git_study/25190719-周跃飞-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -任意 \ No newline at end of file diff --git a/document/git_study/丁晨20192123网络编程实验课.txt b/document/git_study/丁晨20192123网络编程实验课.txt deleted file mode 100644 index 72beee13f..000000000 --- a/document/git_study/丁晨20192123网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -丁晨20192123网络编程实验课.txt diff --git a/document/git_study/兰嘉欣-20190606-网络编程实验.txt b/document/git_study/兰嘉欣-20190606-网络编程实验.txt deleted file mode 100644 index a1dfb049d..000000000 --- a/document/git_study/兰嘉欣-20190606-网络编程实验.txt +++ /dev/null @@ -1 +0,0 @@ -20190606 \ No newline at end of file diff --git a/document/git_study/刘雨昕-20191203-网络编程实验课.txt b/document/git_study/刘雨昕-20191203-网络编程实验课.txt deleted file mode 100644 index 811a7d2a0..000000000 --- a/document/git_study/刘雨昕-20191203-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -# update \ No newline at end of file diff --git a/document/git_study/周尧-25190616-网络编程.txt b/document/git_study/周尧-25190616-网络编程.txt deleted file mode 100644 index 8b1378917..000000000 --- a/document/git_study/周尧-25190616-网络编程.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/document/git_study/周琛祺-20192124-网络编程实验课.txt b/document/git_study/周琛祺-20192124-网络编程实验课.txt deleted file mode 100644 index e8862cbc4..000000000 --- a/document/git_study/周琛祺-20192124-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -周琛祺-20192124-网络编程实验课 diff --git a/document/git_study/周程远-20191809-网络编程实验课.txt b/document/git_study/周程远-20191809-网络编程实验课.txt deleted file mode 100644 index bda8c3ff8..000000000 --- a/document/git_study/周程远-20191809-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -A desire to throw over reality a light that never was might give way abruptly to the desire on the part of what we might consider a novelist-scientist to record exactly and concretely the structure and texture of a flower. diff --git a/document/git_study/唐思格-20191907-网络编程实验课.txt b/document/git_study/唐思格-20191907-网络编程实验课.txt deleted file mode 100644 index e9a9ea1ff..000000000 --- a/document/git_study/唐思格-20191907-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -12345678 \ No newline at end of file diff --git a/document/git_study/姜云译-20191003-网络编程实验课.txt b/document/git_study/姜云译-20191003-网络编程实验课.txt deleted file mode 100644 index 60f50194b..000000000 --- a/document/git_study/姜云译-20191003-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -5664 \ No newline at end of file diff --git a/document/git_study/孙世豪-20192220-网络编程实验课.txt b/document/git_study/孙世豪-20192220-网络编程实验课.txt deleted file mode 100644 index d1124bb30..000000000 --- a/document/git_study/孙世豪-20192220-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -孙世豪-20192220-网络编程实验 \ No newline at end of file diff --git a/document/git_study/宋明绅-20191016-网络编程实验课.txt b/document/git_study/宋明绅-20191016-网络编程实验课.txt deleted file mode 100644 index 9660ce277..000000000 --- a/document/git_study/宋明绅-20191016-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -20191016 宋明绅 diff --git a/document/git_study/尤思洋-20190729-网络编程实验课.txt b/document/git_study/尤思洋-20190729-网络编程实验课.txt deleted file mode 100644 index d2f948d59..000000000 --- a/document/git_study/尤思洋-20190729-网络编程实验课.txt +++ /dev/null @@ -1,3 +0,0 @@ -111 -222 -333 \ No newline at end of file diff --git a/document/git_study/张兴-20191520-网络编程实验课.txt b/document/git_study/张兴-20191520-网络编程实验课.txt deleted file mode 100644 index d224ec1c6..000000000 --- a/document/git_study/张兴-20191520-网络编程实验课.txt +++ /dev/null @@ -1,2 +0,0 @@ -This is Zhang Xing's First Pr! -I did it!!! \ No newline at end of file diff --git a/document/git_study/张宇-20191623-网络编程实验课.txt b/document/git_study/张宇-20191623-网络编程实验课.txt deleted file mode 100644 index a4746227c..000000000 --- a/document/git_study/张宇-20191623-网络编程实验课.txt +++ /dev/null @@ -1,2 +0,0 @@ -35班张宇 -学号20191623 \ No newline at end of file diff --git a/document/git_study/张琦-20190629-网络编程实验.txt b/document/git_study/张琦-20190629-网络编程实验.txt deleted file mode 100644 index 1997d1c8d..000000000 --- a/document/git_study/张琦-20190629-网络编程实验.txt +++ /dev/null @@ -1 +0,0 @@ -20190629 \ No newline at end of file diff --git a/document/git_study/徐婷-20191903-网络编程实验课.txt b/document/git_study/徐婷-20191903-网络编程实验课.txt deleted file mode 100644 index f4b7d0a6a..000000000 --- a/document/git_study/徐婷-20191903-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -# push \ No newline at end of file diff --git a/document/git_study/徐文越-20191209-网络编程实验课.txt b/document/git_study/徐文越-20191209-网络编程实验课.txt deleted file mode 100644 index 811a7d2a0..000000000 --- a/document/git_study/徐文越-20191209-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -# update \ No newline at end of file diff --git a/document/git_study/曹轶杰-20191218-网络编程实验课.txt b/document/git_study/曹轶杰-20191218-网络编程实验课.txt deleted file mode 100644 index ca5d2a29e..000000000 --- a/document/git_study/曹轶杰-20191218-网络编程实验课.txt +++ /dev/null @@ -1,102 +0,0 @@ -# 导入selenium包 -import os.path -import pickle -import re -from time import sleep -from selenium import webdriver -from bs4 import BeautifulSoup -import requests - - # 初始化一个引用计数,用于后面的图片简单命名 -index = 0 -# 设置代理服务器端口 -proxies = {'https':'http://127.0.0.1:10900'} - -next_url = '' -# 定义爬虫方法 -def geturl(url): - # 创建浏览器对象 - browser = webdriver.Firefox(executable_path="D:\GeckoDriver\geckodriver.exe") - # 设置要爬取的网站 - browser.get(url) - # css获得对应html形成列表 - s = browser.find_elements_by_css_selector("div[class='post-preview-container'] a") - pic = s[:] - for i in pic: - # print(i) - huoqvpicture(str(i.get_attribute("href"))) - sleep(1) - print("翻页") - # 获取下一页的链接 - link = browser.find_elements_by_css_selector("div[class='paginator numbered-paginator mt-8 mb-4 space-x-2 flex justify-center items-center'] a") - # print(str(link[-1].get_attribute("href"))) - # 将下一页链接的值赋给next_url - next_url = str(link[-1].get_attribute("href")) - browser.close() - # print(next_url) - geturl(next_url) - -def huoqvpicture(url): - browser = webdriver.Firefox(executable_path="D:\GeckoDriver\geckodriver.exe") - # global index - browser.get(url) - n = browser.find_elements_by_css_selector("section[id='content'] section") - try: - s = browser.find_elements_by_css_selector("div[class='notice notice-small post-notice post-notice-resized'] a") - print(str(s[-1].get_attribute("href"))) - DownLoadPicture(str(s[-1].get_attribute("href")), str(n[0].get_attribute("data-id"))) - # index = 0 - except: - p = browser.find_elements_by_css_selector("section[class='image-container note-container blacklisted'] picture img") - print(str(p[-1].get_attribute("src"))) - DownLoadPicture(str(p[-1].get_attribute("src")), str(n[0].get_attribute("data-id"))) - # index = 1 - # 确定图片格式 - # print(index) - # 定位original picture链接所在位置 - # print(s[-1].get_attribute("src")) - # 打印链接地址 - #图片名称 - - sleep(1) - print(str(n[0].get_attribute("data-id"))) - browser.close() - -def DownLoadPicture(url,name): - root = "./picture/" - path1 =root + name + '.jpg' - path2 =root + name + '.png' - # 若文件是.jpg 格式 - try: - if not os.path.exists(root): - os.mkdir(root) - if not os.path.exists(path1): - sleep(1) - r = requests.get(url,proxies=proxies) - print(r.status_code) - with open(path1, 'wb') as f: - f.write(r.content) - f.close() - print("文件保存成功") - else: - print("文件已存在") - # 若文件是.png 格式 - except: - if not os.path.exists(root): - os.mkdir(root) - if not os.path.exists(path2): - sleep(1) - r = requests.get(url, proxies=proxies) - print(r.status_code) - with open(path2, 'wb') as f: - f.write(r.content) - f.close() - print("文件保存成功") - else: - print("文件已存在") - sleep(1) - - -if __name__ == "__main__": - url = "https://danbooru.donmai.us/" - geturl(url) diff --git a/document/git_study/朱峰-20190719-网络编程实验课.txt b/document/git_study/朱峰-20190719-网络编程实验课.txt deleted file mode 100644 index 2315d6607..000000000 --- a/document/git_study/朱峰-20190719-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -很棒的项目! diff --git a/document/git_study/李鹏昊-20190616-网络编程实验课.txt b/document/git_study/李鹏昊-20190616-网络编程实验课.txt deleted file mode 100644 index e9a9ea1ff..000000000 --- a/document/git_study/李鹏昊-20190616-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -12345678 \ No newline at end of file diff --git a/document/git_study/杨公博-20190626-网络编程实验课.txt b/document/git_study/杨公博-20190626-网络编程实验课.txt deleted file mode 100644 index 2cf161c96..000000000 --- a/document/git_study/杨公博-20190626-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -杨公博20190626 \ No newline at end of file diff --git a/document/git_study/潘斌凯-20190824-网络编程实验课.txt b/document/git_study/潘斌凯-20190824-网络编程实验课.txt deleted file mode 100644 index 5bcf34ad9..000000000 --- a/document/git_study/潘斌凯-20190824-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -pikascript diff --git a/document/git_study/潘浩_20191911_网络编程实验课.txt b/document/git_study/潘浩_20191911_网络编程实验课.txt deleted file mode 100644 index 293f56a57..000000000 --- a/document/git_study/潘浩_20191911_网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -死亦何哀 \ No newline at end of file diff --git a/document/git_study/王庆芳-20191405-网络编程实验课.txt b/document/git_study/王庆芳-20191405-网络编程实验课.txt deleted file mode 100644 index a652ad5ec..000000000 --- a/document/git_study/王庆芳-20191405-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -作业 \ No newline at end of file diff --git a/document/git_study/王禹昆-22190712-网络编程实验课.txt b/document/git_study/王禹昆-22190712-网络编程实验课.txt deleted file mode 100644 index 5bcf34ad9..000000000 --- a/document/git_study/王禹昆-22190712-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -pikascript diff --git a/document/git_study/王薪陶-20190828-网络编程实验 b/document/git_study/王薪陶-20190828-网络编程实验 deleted file mode 100644 index 5e11b9488..000000000 --- a/document/git_study/王薪陶-20190828-网络编程实验 +++ /dev/null @@ -1,4 +0,0 @@ -计算机网络编程综合实验 - -王薪陶-20190828-网络编程实验 - diff --git a/document/git_study/祁延-20191009-网络编程实验 b/document/git_study/祁延-20191009-网络编程实验 deleted file mode 100644 index f6bde7361..000000000 --- a/document/git_study/祁延-20191009-网络编程实验 +++ /dev/null @@ -1,2 +0,0 @@ -祁延-20191009-网络编程实验 -The world is my oyster. diff --git a/document/git_study/程博云-20190724-网络编程实验.txt b/document/git_study/程博云-20190724-网络编程实验.txt deleted file mode 100644 index 451218cc9..000000000 --- a/document/git_study/程博云-20190724-网络编程实验.txt +++ /dev/null @@ -1 +0,0 @@ -大佬牛的 \ No newline at end of file diff --git a/document/git_study/董淑泽-23190418-网络编程实验课.txt b/document/git_study/董淑泽-23190418-网络编程实验课.txt deleted file mode 100644 index 9904f1afe..000000000 --- a/document/git_study/董淑泽-23190418-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -董淑泽-23190418-网络编程实验课 diff --git a/document/git_study/蒋正豪20190829网络编程实验课.txt b/document/git_study/蒋正豪20190829网络编程实验课.txt deleted file mode 100644 index 93fbd92c4..000000000 --- a/document/git_study/蒋正豪20190829网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -20190829蒋正豪网络编程实验课 \ No newline at end of file diff --git a/document/git_study/蔡润恒20191825-网络编程实验课 b/document/git_study/蔡润恒20191825-网络编程实验课 deleted file mode 100644 index 7759c903e..000000000 --- a/document/git_study/蔡润恒20191825-网络编程实验课 +++ /dev/null @@ -1 +0,0 @@ -20221005 diff --git a/document/git_study/许博文-20190904-网络编程实验课.txt b/document/git_study/许博文-20190904-网络编程实验课.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/document/git_study/赵培森-20191112-网络编程实验.txt b/document/git_study/赵培森-20191112-网络编程实验.txt deleted file mode 100644 index a99e8bfa0..000000000 --- a/document/git_study/赵培森-20191112-网络编程实验.txt +++ /dev/null @@ -1,2 +0,0 @@ -网络编程综合实验4 -38班20191112赵培森 \ No newline at end of file diff --git a/document/git_study/赵晓龙-22190630-网络编程实验课.txt b/document/git_study/赵晓龙-22190630-网络编程实验课.txt deleted file mode 100644 index 486f61904..000000000 --- a/document/git_study/赵晓龙-22190630-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -hahhahaaha diff --git a/document/git_study/赵祎烁-20191901-网络编程实验课.txt b/document/git_study/赵祎烁-20191901-网络编程实验课.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/document/git_study/郭佳琪-20170907-网络编程实验.txt b/document/git_study/郭佳琪-20170907-网络编程实验.txt deleted file mode 100644 index 768330855..000000000 --- a/document/git_study/郭佳琪-20170907-网络编程实验.txt +++ /dev/null @@ -1,2 +0,0 @@ -网络编程实验4 -2019级34班20170907郭佳琪 diff --git a/document/git_study/陈锐子-20190624-网络编程实验.txt b/document/git_study/陈锐子-20190624-网络编程实验.txt deleted file mode 100644 index 3d523865d..000000000 --- a/document/git_study/陈锐子-20190624-网络编程实验.txt +++ /dev/null @@ -1 +0,0 @@ -国庆快乐 \ No newline at end of file diff --git a/document/git_study/黄宇-20192125-网络编程实验课.txt b/document/git_study/黄宇-20192125-网络编程实验课.txt deleted file mode 100644 index 20fa61a50..000000000 --- a/document/git_study/黄宇-20192125-网络编程实验课.txt +++ /dev/null @@ -1 +0,0 @@ -emmmm diff --git a/document/git_study/齐淑文-20191007-网络编程实验课 b/document/git_study/齐淑文-20191007-网络编程实验课 deleted file mode 100644 index 748099d2b..000000000 --- a/document/git_study/齐淑文-20191007-网络编程实验课 +++ /dev/null @@ -1 +0,0 @@ -11111111 \ No newline at end of file