原创 itcast-crawler-first(HttpGetParamTest)
package cn.itcast.crawler; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client
原创 c#remoting的配置文件方式
ConsoleServer: 配置文件: App.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting>
原创 c#中的remoting demo
ConsoleServer : 創建控制檯應用,把生成的ConsoleServer.exe放到桌面上的dll文件夾下。代碼如下(MarshalByRefObject一定要繼承,否則報異常): using System; using
原创 itcast-crawler-first(CrawlerFirst)
package cn.itcast.crawler; import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResp
原创 itcast-crawler-first(HttpClientPoolTest)
package cn.itcast.crawler; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client
原创 itcast-crawler-first(HttpConfigTest)
package cn.itcast.crawler; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.
原创 dianshiju.py
import requests import json # https://m.douban.com/rexxar/api/v2/subject_collection/filter_tv_english_hot/items?os=and
原创 01_douban.py
# coding=utf-8 import requests import json class Douban: def __init__(self): self.url_temp = 'https://m.d
原创 Fanyi
import requests import json class Fanyi: def __init__(self,query_string): self.url = "https://fanyi.baidu
原创 TiebaSpider04
import requests class TiebaSpider: def __init__(self,tieba_name): self.tieba_name = tieba_name s
原创 tieba_spider03
import requests tieba_name = input(":") #1. 準備Url列表 url_temp = "https://tieba.baidu.com/f?kw=" + tieba_name + "&ie=ut
原创 context.xml
<?xml version="1.0" encoding="UTF-8"?> <Context> <!-- <Resource name="jdbc/eesy_mybatis" 數據源的名
原创 我的
ts only appender to CONSOLE. #log4j.rootCategory=INFO, CONSOLE debug info warn error fatal log4j.rootCat
原创 jsp
<%@ page import="java.io.InputStream" %> <%@ page import="org.apache.ibatis.io.Resources" %> <%@ page import="org.apach