cookiecontainer问题,折腾一天了求帮助谢谢 10C

我把httpwebresponse.cokies添加add()到cookiecontaoner里,然后遍历出来,里面的cookie不全(还就是关键的几个cookie没在),然后我又直接遍历httpwebresponse.cokies,里面的cookie又全在,请问下这是怎么回事??


/// <summary>  
/// 通过get方式请求页面,传递一个实例化的cookieContainer  

/// </summary>  
/// <param name="postUrl"></param>  

/// <param name="cookie"></param>  

/// <returns></returns>  

public static ArrayList GetHtmlData(string postUrl, CookieContainer cookie)  

{  

    HttpWebRequest request;  

    HttpWebResponse response;  

    ArrayList list = new ArrayList();  

    request = WebRequest.Create(postUrl) as HttpWebRequest;  

    request.Method = "GET";  

    request.UserAgent = "Mozilla/4.0";  

    request.CookieContainer = cookie;  

    request.KeepAlive = true;  

  

    request.CookieContainer = cookie;  

    try  

    {  

        //获取服务器返回的资源  

        using (response = (HttpWebResponse)request.GetResponse())  

        {  

            using (StreamReader reader = new StreamReader(response.GetResponseStream(), Encoding.Default))  

            {  

                cookie.Add(response.Cookies);  

                //保存Cookies  

                list.Add(cookie);  

                list.Add(reader.ReadToEnd());  

                list.Add(Guid.NewGuid().ToString());//图片名  

            }  

        }  

    }  

    return list;

}

3个回答

u011363386
红火叶 我把httpwebresponse.cokies添加add()到cookiecontaoner里,然后遍历出来,里面的cookie不全(还就是关键的几个cookie没在),然后我又直接遍历httpwebresponse.cokies,里面的cookie又全在,请问下这是怎么回事??
接近 5 年之前 回复

cookiecontaoner 里的cookie 不全是怎么回事

dotnet framework 4.0左右的版本的System.Net.CookieContainer默认只支持 RFC 2109 和 RFC 2965 格式的Cookie, 对于最近的rfc2616 格式的Cookie直接略过,仁兄还是自己解析吧

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
关于C#的HttpWebRequest的CookieContainer的问题

一个简单模拟调用https的api的请求,服务端可能根据是cookie验证, 所以先用fiddler跟踪出来了真实请求下的cookie,然后通过代码模拟发送请求,在CookieContainer中 添加了跟踪出来的cookie,但是用fiddler跟踪模拟请求时显示请求中并没有发送cookie。 这里的CookieContainer中的cookie为啥发不出去呢? ``` Cookie c1 = new Cookie("emmcloud_sso_sso", "2|1:0|10:1528073979|16:emmcloud_sso_sso|56:MjVhZDlmY2Q5ZTJjNjczNjExMzMzMjk3ZWIyYjQzMTQ5NTkzZjI3Yw==|1cee10bd14bbbde3ba07f4c292a76edd3aaa3f330b1d3d586ac54f61b6b3ffc6", "/", ".hcmcloud.cn"); Cookie c2 = new Cookie("token", "2|1:0|10:1528073979|5:token|76:QmVhcmVyIEFULTMtMzAyMzcyNDEtWHlmSGNhSGpTVVBZdllYZGhoRXE5ZE16eng3cWNhN3hRMXo=|f4426bc6fcfe0b6a9bfbf796085eebf0ad286c15b767c0dd96f344ba9e000b16", "/", ".hcmcloud.cn"); request.CookieContainer = new CookieContainer(); request.CookieContainer.Add(c1); request.CookieContainer.Add(c2); //X509Certificate cert = X509Certificate.CreateFromCertFile("D:\\FiddlerRoot-1.cer"); //request.ClientCertificates.Add(cert); var ret = request.GetResponse() as HttpWebResponse; ```

C#中CookieContainer和CookieCollection的区别?

求大神讲解一下CookieContainer和CookieCollection的区别和使用场景,最近在写一个底层Http的帮助类,想持久化各种Cookie!

模拟登录后访问,CookieContainer访问时需要变更的问题。

模拟登录后访问,CookieContainer访问时需要变更的问题。 用C# 做一个模拟 登录网站 访问页面的程序。原本 向被访网站提交post相关 用户密码后,把cookie保存到CookieContainer中,再访问网站页面没问题。后因被访页面 多了一个写入和读取cookie的操作,原container中的cookie内容,在访问中无法变更。导致无法访问 登录后的内容。 不知道我表达的,是否清楚。 代码大致是这样的。 如果登录后保存的cookieContainer,在浏览页面时再次修改或添加,应该就能通过了。 现在情况是,只用登录后保存container去访问被页面,因为被访页面又写入和读取cookie,原container无法变更,而导致浏览页面失败。本人菜鸟,请老师指教,最好有代码了。 比如被访页面加了这个写入和读取cookie的代码。原container就读取失败了。 Response.Cookies["Usert"]["tt"] = "ok"; if (Request.Cookies["Usert"]["tt"] == "ok") { 通过; } else { 失改; } protected void Button_Cai_Click(object sender, System.EventArgs e) { string indata = "username=aabbi&password=123"; string outdata = ""; CookieContainer myCookieContainer = new CookieContainer(); //新建一个CookieContainer来存放Cookie集合 HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create("http://www.xxx.com/login.php?c=login"); //新建一个HttpWebRequest myHttpWebRequest.ContentType = "application/x-www-form-urlencoded"; myHttpWebRequest.ContentLength = indata.Length; myHttpWebRequest.Method = "POST"; // myHttpWebRequest.KeepAlive = false;//--- myHttpWebRequest.CookieContainer = myCookieContainer; //设置HttpWebRequest的CookieContainer为刚才建立的那个myCookieContainer Stream myRequestStream = myHttpWebRequest.GetRequestStream(); StreamWriter myStreamWriter = new StreamWriter(myRequestStream, Encoding.GetEncoding("gb2312")); myStreamWriter.Write(indata); //把数据写入HttpWebRequest的Request流 myStreamWriter.Close(); myRequestStream.Close(); //关闭打开对象 HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse(); //新建一个HttpWebResponse myHttpWebResponse.Cookies = myCookieContainer.GetCookies(myHttpWebRequest.RequestUri); //获取一个包含url的Cookie集合的CookieCollection Stream myResponseStream = myHttpWebResponse.GetResponseStream(); StreamReader myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding("gb2312")); outdata = myStreamReader.ReadToEnd(); //把数据从HttpWebResponse的Response流中读出 myStreamReader.Close(); myResponseStream.Close(); AddCompNew(i.ToString(), myCookieContainer); Download("http://www.xxx.com/view/123.htm",myCookieContainer); } public static string Download(string URL, CookieContainer myCookieContainer)//UTF-8 gb2312 { Stream strmPage = null; StreamReader srPage = null; string HTML = null; try { HttpWebRequest wrqPage = (HttpWebRequest)WebRequest.Create(URL);//根据制定的URL字符构造一个网络请求 // wrqPage.UserAgent = "Mozilla/4.0(compatible; MSIE 6.0; Windows NT 5.1)";//设定UserAgent的属性 // wrqPage.UserAgent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)";//设定UserAgent的属性 wrqPage.Method = "get"; wrqPage.CookieContainer = myCookieContainer;//* WebResponse wrpPage = wrqPage.GetResponse();//获取网络相应 strmPage = wrpPage.GetResponseStream();//获取网络相应的数据流 //srPage = new StreamReader(strmPage, Encoding.GetEncoding("gb2312")); //将获取的数据流构造为一个StreamReader,用来读取流的内容 srPage = new StreamReader(strmPage, System.Text.Encoding.GetEncoding("gb2312"));//将获取的数据流构造为一个StreamReader,用来读取流的内容 HTML = srPage.ReadToEnd(); //使用StreamReader读取到流的末尾,并将读取的内容存储到HTML变量中 strmPage.Close(); return HTML; } catch (Exception) { if (strmPage != null) { strmPage.Close(); } return HTML; } } 我没有币,只能谢谢了。

function中的cookie,及httpWebRequest.CookieContainer

本人是新人想请教大家一个问题: ``` function challenge_f(){ document.cookie='ROBOTCOOKIEID =16886a2d368040e59e556772ad20c5d94301df46; max-age=600 ; path=/';window.location.reload()}; function challenge(){document.cookie='ROBOTCOOKIEID =96ea80a75a975bd63eac21302c590e3f15a9a74f; max-age=600 ; path=/';window.location.reload()} ``` 如何把里面的cookie提取出来保存到httpWebRequest.CookieContainer中; 我实际想做的功能是从一个网页上抓取数据,谢谢各位大侠!请求支援。

尝试了太多自动重定向(即使CookieContainer失败)

<div class="post-text" itemprop="text"> <p>c# code:</p> <pre><code>ASCIIEncoding encoding = new ASCIIEncoding(); CookieContainer cook = new CookieContainer(); byte[] data = encoding.GetBytes(postData); HttpWebRequest myRequest =(HttpWebRequest)WebRequest.Create("http://website.com/index.php"); myRequest.Method = "POST"; myRequest.ContentType = "application/x-www-form-urlencoded"; //myRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"; myRequest.ContentLength = data.Length; Stream newStream = myRequest.GetRequestStream(); newStream.Write(data, 0, data.Length); newStream.Close(); //myRequest.AllowAutoRedirect = false; myRequest.CookieContainer = new CookieContainer(); WebResponse response = myRequest.GetResponse(); Console.WriteLine(((HttpWebResponse)response).StatusDescription); newStream = response.GetResponseStream(); StreamReader reader = new StreamReader(newStream); Console.WriteLine(reader.ReadToEnd()); </code></pre> <p>index.php</p> <pre><code>$num= $_POST["num"]; echo $num; </code></pre> <p>the above code work for me before but suddenly it fail. I tried everything adding <code>CookieContainer()</code>, setting Redirection to false, using other code for httprequest.</p> <p>If I <code>AllowAutoRedirect</code> set to false the result would be:</p> <hr> <p>302 Found</p> <p>Found The document has moved here</p> <hr> <p>But when i tried this to other web-hosting server it works. So i was thinking its on my WHM/cPanel? Also i have already white-listed my Ip. Already check .htaccess and the options in my cpanelb(redirection).</p> <p>So any ideas what might cause this?</p> <p><em>note: i have already disable'd cloud flare protection</em></p> </div>

java调用webService服务端,登录之后怎么保持后续操作的登录状态?

**1背景:** 项目中要spring-ws写客户端调用WebService, 需要获取token后登录.登录成功后服务端记录session; **2问题:**登录后进行同步操作时服务端报错,提示我用户未登录. **3参考:**.net客户端中可以设置代理类的CookieContainer属性, System.Net.CookieContainer cookid = new System.Net.CookieContainer(); WsService wsService = new WsService(); wsService.CookieContainer = cookid; java中应该怎么实现保证多次访问之间 保持一个session?

C# 模拟post登陆后,关键cookie发送不出去,求帮助

想做一个登陆小米网站的程序,在使用post模拟登陆的时候,能够获取到登陆后的cookie,cookieContainer里面有3个域名。(.xiaomi.com)(account.xiaomi.com)(.account.xiaomi.com) 在.account.xiaomi.com中存在着关键的cookie,pwdToken和passToken都有存在着。但是使用这个cookieContainer,然后httpWebRequest的时候,用get方法获取https://account.xiaomi.com/pass/userInfo?userId=73896043 的时候,我用fiddler发现他只发送了account.xiaomi.com域名中的cookie,而没有发送.account.xiaomi.com中的cookie。导致进页面被认为没登陆,一直返回登陆页面。第一次做winform的程序,被这个问题困扰了好多天了,一直没能解决。 使用ie登陆的话,用httpwatch能看到他发送了.account.xiaomi.com中的cookie,为什么使用程序get的时候他就不发送.account.xiaomi.com中的cookie了。甚为纠结。。。 希望各位大大指点迷津。。。让我不要再纠结了。。。 private HttpWebResponse loginResponse; private StreamReader loginRespReader; private CookieContainer m_Cookie = new CookieContainer(); private void button1_Click(object sender, EventArgs e) { this.xiaomiLogin(); string str=this.loginRespReader.ReadToEnd(); HttpWebRequest req = (HttpWebRequest)WebRequest.Create("https://account.xiaomi.com/pass/userInfo?userId=174314059"); req.CookieContainer = new CookieContainer(); req.CookieContainer = m_Cookie; req.Method = "GET"; //req.ContentType = "application/x-www-form-urlencoded"; loginResponse = (HttpWebResponse)req.GetResponse(); loginRespReader = new StreamReader(loginResponse.GetResponseStream()); textBox1.Text = loginRespReader.ReadToEnd(); } private void xiaomiLogin() { string requestUriString = "https://account.xiaomi.com/pass/serviceLoginAuth2"; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(requestUriString); request.CookieContainer = new CookieContainer(); request.CookieContainer = m_Cookie; request.Method = "POST"; request.AllowAutoRedirect = true; request.ContentType = "application/x-www-form-urlencoded"; string s = this.quoteParas(paras); byte[] bytes = Encoding.UTF8.GetBytes("passToken=&user=13763114744&pwd=xiaomi123&callback=https%3A%2F%2Faccount.xiaomi.com&sid=passport&qs=%253Fsid%253Dpassport&hidden=&_sign=KKkRvCpZoDC%2BgLdeyOsdMhwV0Xg%3D"); request.ContentLength = bytes.Length; Stream requestStream = request.GetRequestStream(); requestStream.Write(bytes, 0, bytes.Length); this.loginResponse = (HttpWebResponse)request.GetResponse(); m_Cookie = request.CookieContainer; this.loginRespReader = new StreamReader(this.loginResponse.GetResponseStream()); }

C# HttpWebRequest发送GET请求的问题

ServicePointManager.DefaultConnectionLimit = 500; ServicePointManager.Expect100Continue = true; ServicePointManager.CheckCertificateRevocationList = false; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls; string url = @"https://login.wx2.qq.com/jslogin?appid=wx782c26e4c19acffb"; HttpWebRequest wRequest = (HttpWebRequest)WebRequest.Create(url); wRequest.Method = "GET"; wRequest.ContentType = "text/javascript"; wRequest.CookieContainer = CookiesContainer; //启用cookie if (CookiesContainer == null) { CookiesContainer = new CookieContainer(); } WebResponse wResponse = wRequest.GetResponse(); Stream stream = wResponse.GetResponseStream(); StreamReader reader = new StreamReader(stream, System.Text.Encoding.Default); string str = reader.ReadToEnd(); //url返回的值 MessageBox.Show(str); reader.Close(); wResponse.Close(); ``` 上面代码为什么在部分电脑上超时,手动打开网页没问题,求思路! ``` ```

HttpWebRequest能模拟XMLHttpRequest的post请求吗?

如果能模拟,请问该如何具体实现。 ``` HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(requestUrlString); ASCIIEncoding encoding = new ASCIIEncoding(); byte[] data = encoding.GetBytes(loginpostData); myRequest.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0"; myRequest.Accept = "application/json, text/javascript, */*; q=0.01"; myRequest.Method = "POST"; myRequest.ContentType = "application/x-www-form-urlencoded"; myRequest.Referer = "http://www.ewt360.com/"; myRequest.Host = "www.ewt360.com"; myRequest.ContentLength = data.Length; Stream newStream = myRequest.GetRequestStream(); newStream.Write(data, 0, data.Length); newStream.Close(); myRequest.CookieContainer = new CookieContainer(); //将请求的结果发送给客户端(界面、应用) HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse(); myResponse.Cookies = myRequest.CookieContainer.GetCookies(myRequest.RequestUri); cookie.Add(myResponse.Cookies); StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.UTF8); return reader.ReadToEnd(); ``` 我的代码在获取响应的时候报错了,我想在一个网站上模拟登陆,发现它登陆的时候发送了三个XHR请求,请问我是不是这三个请求都要模拟一遍,还是只要模拟第一个请求呢?没有C币了真心求好心人帮助,做这个数据抓取我已经做的心力憔悴了

C#HttpWebRequest 模拟请求一个URL和在网站上直接输入这个URL返回的页面不一样

![网站返回页面](https://img-ask.csdn.net/upload/201505/23/1432345406_526347.png) ![程序返回页面](https://img-ask.csdn.net/upload/201505/23/1432345434_802513.png) 以上都是同一个URL请求返回的页面。为什么会出现这种情况,实在没有C币了求好心人帮助。 myRequest = (HttpWebRequest)WebRequest.Create(requestUrlString); myRequest.Method = "GET"; myRequest.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0"; myRequest.CookieContainer = cookie; HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse(); StreamReader reader = new StreamReader(myResponse.GetResponseStream(), Encoding.UTF8); string tmp = reader.ReadToEnd(); 附上代码片段

C# HttpWebRequest ,Post请求,有个cookie里面带了逗号

创建CookieContainer的时候 有个cookie里面带了逗号 cookie 类似Wed, 20 Dec 2017 05:46:34 GMT 这种日期的 我用get的访问别的接口是没问题的 这个接口必须post,然后一直提示会话过期

[vb.net]HttpWebResponse的编码问题——GB2312乱码

我想用这段代码登录获取cookie,然后再访问用户页面,这一部分工作正常。可是如果遇到GB2312编码的网页就会出现乱码。请高手指点,万分感谢! 另:选这个网址仅供说明只用,没有别的意思。 ``` Imports System.Net Imports System.IO Imports System.Text Public Class Form1 Const ConnectURL = "http://www.guqu.net/User/User_ChkLogin.asp" Const HomeURL = "http://www.guqu.net/" Private Function RegularPage(ByVal URL As String, ByVal CookieJar As CookieContainer) As String Dim reader As StreamReader Dim Request As HttpWebRequest = HttpWebRequest.Create(URL) Request.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" Request.AllowAutoRedirect = False Request.CookieContainer = CookieJar Dim Response As HttpWebResponse = Request.GetResponse() reader = New StreamReader(Response.GetResponseStream()) Return reader.ReadToEnd() Response.Close() End Function Private Sub LogonPage(ByVal URL As String, ByRef CookieJar As CookieContainer, ByVal PostData As String) Dim reader As StreamReader Dim Request As HttpWebRequest = HttpWebRequest.Create(URL) Request.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" Request.CookieContainer = CookieJar Request.AllowAutoRedirect = False Request.ContentType = "application/x-www-form-urlencoded" Request.Method = "POST" Request.ContentLength = PostData.Length Dim requestStream As Stream = Request.GetRequestStream() Dim postBytes As Byte() = Encoding.ASCII.GetBytes(PostData) requestStream.Write(postBytes, 0, postBytes.Length) requestStream.Close() Dim Response As HttpWebResponse = Request.GetResponse() For Each tempCookie In Response.Cookies CookieJar.Add(tempCookie) Next reader = New StreamReader(Response.GetResponseStream()) Response.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim CookieJar As New CookieContainer Dim PostData As String Try 'Logon PostData = "UserName=abc&UserPassword=abcdef&CheckCode=173872&ComeUrl=http%3A%2F%2Fwww.guqu.net%2F&Login.x=30&Login.y=13&Login=+%B5%C7+%C2%BC+" LogonPage(ConnectURL, CookieJar, PostData) 'Homepage Dim Sw As StreamWriter = File.CreateText("E:\response.html") Sw.Write(RegularPage(HomeURL, CookieJar)) Sw.Close() RichTextBox1.AppendText(RegularPage(HomeURL, CookieJar)) Catch ex As Exception MsgBox(ex.Message.ToString) End Try End Sub End Class ```

c#模拟登陆 返回500错误

我想用c#模拟登陆一个网站,然后再对网站进行操作,post参数也很简单,但是为什么返回500错误呢? ![图片说明](https://img-ask.csdn.net/upload/201603/31/1459414065_362884.jpg) ![图片说明](https://img-ask.csdn.net/upload/201603/31/1459414075_702532.png) ![图片说明](https://img-ask.csdn.net/upload/201603/31/1459414082_979129.jpg) ![图片说明](https://img-ask.csdn.net/upload/201603/31/1459414093_528164.png) ![图片说明](https://img-ask.csdn.net/upload/201603/31/1459414100_67423.png) ``` using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; namespace emulateLoginBaidu { class HTMLHelper { public static CookieContainer GetCooKie(string loginUrl, string postdata, HttpHeader header) { HttpWebRequest request = null; HttpWebResponse response = null; try { CookieContainer cc = new CookieContainer(); request = (HttpWebRequest)WebRequest.Create(loginUrl); request.Method = header.method; request.ContentType = header.contentType; byte[] postdatabyte = Encoding.UTF8.GetBytes(postdata); request.ContentLength = postdatabyte.Length; request.AllowAutoRedirect = false; request.CookieContainer = cc; request.KeepAlive = true; //提交请求 Stream stream; stream = request.GetRequestStream(); stream.Write(postdatabyte, 0, postdatabyte.Length); stream.Close(); //接收响应 response = (HttpWebResponse)request.GetResponse(); response.Cookies = request.CookieContainer.GetCookies(request.RequestUri); CookieCollection cook = response.Cookies; //Cookie字符串格式 string strcrook = request.CookieContainer.GetCookieHeader(request.RequestUri); return cc; } catch (Exception ex) { throw ex; } } /// <summary> /// 获取html /// </summary> /// <param name="getUrl"></param> /// <param name="cookieContainer"></param> /// <param name="header"></param> /// <returns></returns> public static string GetHtml(string getUrl, CookieContainer cookieContainer, HttpHeader header) { Thread.Sleep(1000); HttpWebRequest httpWebRequest = null; HttpWebResponse httpWebResponse = null; try { httpWebRequest = (HttpWebRequest)HttpWebRequest.Create(getUrl); httpWebRequest.CookieContainer = cookieContainer; httpWebRequest.ContentType = header.contentType; httpWebRequest.ServicePoint.ConnectionLimit = header.maxTry; httpWebRequest.Referer = getUrl; httpWebRequest.Accept = header.accept; httpWebRequest.UserAgent = header.userAgent; httpWebRequest.Method = "GET"; httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse(); Stream responseStream = httpWebResponse.GetResponseStream(); StreamReader streamReader = new StreamReader(responseStream, Encoding.UTF8); string html = streamReader.ReadToEnd(); streamReader.Close(); responseStream.Close(); httpWebRequest.Abort(); httpWebResponse.Close(); return html; } catch (Exception e) { if (httpWebRequest != null) httpWebRequest.Abort(); if (httpWebResponse != null) httpWebResponse.Close(); return string.Empty; } } } public class HttpHeader { public string contentType { get; set; } public string accept { get; set; } public string userAgent { get; set; } public string method { get; set; } public int maxTry { get; set; } } } ``` 测试代码: ``` try { HttpHeader header = new HttpHeader(); header.accept = @"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"; header.contentType = "application/x-www-form-urlencoded"; header.method = "POST"; header.userAgent = "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"; header.maxTry = 300; CookieContainer cookieContainer = new CookieContainer(); cookieContainer = HTMLHelper.GetCooKie("https://www.wish.com/api/email-login", "email=oxvbgzo66627404%40163.com&password=ai49425&_buckets=&_experiments=", header); string html = HTMLHelper.GetHtml("https://www.wish.com", cookieContainer, header); MessageBox.Show(html); } catch (Exception ee) { MessageBox.Show(ee.Message); } ```

c#微信企业号开发 自定义菜单40001

一直报40001的错误,在调试工具返回是正确的 附上代码 求助 public void CreateMenu(string posturl, string postData) { StreamWriter outstream = null; Stream instream = null; StreamReader sr = null; HttpWebResponse response = null; HttpWebRequest request = null; Encoding encoding = Encoding.UTF8; byte[] data = encoding.GetBytes(postData); request = WebRequest.Create(posturl) as HttpWebRequest; CookieContainer cookieContainer = new CookieContainer(); request.CookieContainer = cookieContainer; request.AllowAutoRedirect = true; request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; // request.ContentLength = data.Length; outstream = new StreamWriter(request.GetRequestStream()); //outstream.Write(data, 0, data.Length); outstream.Write(postData); outstream.Close(); response = request.GetResponse() as HttpWebResponse; instream = response.GetResponseStream(); sr = new StreamReader(instream, encoding); string content = sr.ReadToEnd(); System.Web.HttpContext.Current.Response.Write(content); }

WCF 本地localhost 上传图文和文件没有问题,发布到服务器后,WCF方法能调用,但是无法实现

``` public static string UploadFile(string url, string path) { HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest; CookieContainer cookieContainer = new CookieContainer(); request.CookieContainer = cookieContainer; request.AllowAutoRedirect = true; request.Method = "POST"; string boundary = DateTime.Now.Ticks.ToString("X"); request.ContentType = "multipart/form-data;charset=utf-8;boundary=" + boundary; byte[] itemBoundaryBytes = Encoding.UTF8.GetBytes("\r\n--" + boundary + "\r\n"); byte[] endBoundaryBytes = Encoding.UTF8.GetBytes("\r\n--" + boundary + "--\r\n"); int pos = path.LastIndexOf("\\"); string fileName = path.Substring(pos + 1); //请求头部信息 StringBuilder sbHeader = new StringBuilder(string.Format("Content-Disposition:form-data;name=\"file\";filename=\"{0}\"\r\nContent-Type:application/octet-stream\r\n\r\n", fileName)); byte[] postHeaderBytes = Encoding.UTF8.GetBytes(sbHeader.ToString()); //文化流 读取图片信息 FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read); byte[] bArr = new byte[fs.Length]; fs.Read(bArr, 0, bArr.Length); fs.Close(); Stream postStream = request.GetRequestStream(); postStream.Write(itemBoundaryBytes, 0, itemBoundaryBytes.Length); postStream.Write(postHeaderBytes, 0, postHeaderBytes.Length); postStream.Write(bArr, 0, bArr.Length); postStream.Write(endBoundaryBytes, 0, endBoundaryBytes.Length); postStream.Close(); //发送请求并获取相应回应数据 HttpWebResponse response = request.GetResponse() as HttpWebResponse; //直到request.GetResponse()程序才开始向目标网页发送Post请求 Stream instream = response.GetResponseStream(); StreamReader sr = new StreamReader(instream, Encoding.UTF8); //返回结果网页(html)代码 string content = sr.ReadToEnd(); return content; } ``` ![图片说明](https://img-ask.csdn.net/upload/202005/13/1589349846_385466.png) 这个可以调用,但是无法实现--发布在IIS 上 ![图片说明](https://img-ask.csdn.net/upload/202005/13/1589349883_830777.png) 这个可以实现 --localhost 上

C#https的post请求,发送的uri接收方接收的地址乱了

public string HttpPost(string Url, string postDataStr) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Url); //request.AllowAutoRedirect = false; //禁止自动重定向 request.Method = "POST"; request.Headers.Add("AK", "c74f6e81f3854e928a4e2633b9d55a89"); request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = Encoding.UTF8.GetByteCount(Url); request.CookieContainer = cookie; //cookie信息由CookieContainer自行维护 Stream myRequestStream = request.GetRequestStream(); using (StreamWriter myStreamWriter = new StreamWriter(myRequestStream, Encoding.GetEncoding("gb2312")))//gb2312 { myStreamWriter.Write(Url); myStreamWriter.Close(); } HttpWebResponse response = null; try { this.SetCertificatePolicy(); response = (HttpWebResponse)request.GetResponse(); } catch (System.Exception ex) { throw; } //获取重定向地址 //string url1 = response.Headers["Location"]; if (response != null) { Stream myResponseStream = response.GetResponseStream(); StreamReader myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding("utf-8")); string retString = myStreamReader.ReadToEnd(); //MessageBox.Show(retString); myStreamReader.Close(); myResponseStream.Close(); return retString; } else { return "error"; //post请求返回为空 } } ``` 我发的:https://console-api-test.qibeitech.com/sign/productCheck/bindDevice?lockId=86812017491050&bikeId=http://ofo.so/plate/11000000&timestamp=1504487889209&sign=3c02b0dd1c2b5ba9df236b78e89c5916 他们接收的:AKc74f6e81f3854e928a4e2633b9d55a89bikeIdhttp://ofo.so/plate/11000000http://ofo.so/plate/11000000https://console-api-test.qibeitech.com/sign/productCheck/bindDevice?lockId86812017491050lockId86812017491050timestamp15044878892091504487889209dcc59608864511e79673163ea306a3 ``` 求帮助,小白一个,,之前没怎么做过网络通信的

我如何从php下载链接中提取文件名

<div class="post-text" itemprop="text"> <p>I am creating a program in c# using webbrowser control to view moodle of my university. I am downloading files using public class CookieAwareWebClient.class (found this code in internet to download authorized files) but i cant get correct file name or some links example - <a href="http://somewebsite.com/mod/resource/view.php?id=80824" rel="nofollow noreferrer">http://somewebsite.com/mod/resource/view.php?id=80824</a> . When i click this in my regular chrome browser pdf file "<a href="http://somewebsite.com/pluginfile.php/186873/mod_resource/content/1/somefile.pdf" rel="nofollow noreferrer">http://somewebsite.com/pluginfile.php/186873/mod_resource/content/1/somefile.pdf</a>" opens. but i cant het the name "somefile.pdf" .How i can get the original file name "somefile.pdf".</p> <p>my function to download files</p> <pre><code> public void saveFile(String url) { Uri Url = new Uri(@url); String filePath = "c:\\"; fileName = url.Substring(url.LastIndexOf("/") + 1).Replace("%20", " ").Replace("%28", " ").Replace("%29", " "); SaveFileDialog saveFileDialog1 = new SaveFileDialog(); saveFileDialog1.FileName = fileName; if (saveFileDialog1.ShowDialog() == DialogResult.OK) { filePath = saveFileDialog1.FileName; CookieAwareWebClient http = new CookieAwareWebClient(new CookieContainer()); http.DownloadProgressChanged += new DownloadProgressChangedEventHandler(client_DownloadProgressChanged); http.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded"; string response = http.UploadString("http://courseweb.sliit.lk/login/index.php", "username=" + Form1.USERNAME + "&amp;password=" + Form1.PASSWORD + "&amp;submit=submit"); //http.DownloadFile(Url, filePath); http.DownloadFileAsync(Url, filePath); this.Text = "Downloading File - " + fileName; } } </code></pre> <p>my CookieAwareWebClient.class below</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; namespace Course_Web { public class CookieAwareWebClient : WebClient { Uri target = new Uri("http://unversitywebsite.com"); public CookieContainer CookieContainer { get; set; } public Uri Uri { get; set; } public CookieAwareWebClient() : this(new CookieContainer()) { } public CookieAwareWebClient(CookieContainer cookies) { this.CookieContainer = cookies; } protected override WebRequest GetWebRequest(Uri address) { WebRequest request = base.GetWebRequest(address); if (request is HttpWebRequest) { (request as HttpWebRequest).CookieContainer = this.CookieContainer; } HttpWebRequest httpRequest = (HttpWebRequest)request; httpRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate; return httpRequest; } protected override WebResponse GetWebResponse(WebRequest request) { WebResponse response = base.GetWebResponse(request); String setCookieHeader = response.Headers[HttpResponseHeader.SetCookie]; if (setCookieHeader != null) { //do something if needed to parse out the cookie. if (setCookieHeader != null) { Cookie cookie = new Cookie("CookieName", "CookieValue") { Domain = target.Host }; //create cookie this.CookieContainer.Add(cookie); } } return response; } } } </code></pre> </div>

C# 如何使用 HttpWebReques 编写baidu(百度)自动登录,请高手帮忙看看,如何解决?

下面是我写的代码,不知道那里出错,实现不了登录,请帮忙解决...先说声谢谢啦代码: ---------- string postdata = "ppui_logintime=482599&charset=utf-8&codestring=&token=e80e24119525675ba6ee9e0e15c6a8be&isPhone=false&index=0&u=&safeflg=0&staticpage=http%3A%2F%2Fwww.baidu.com%2Fcache%2Fuser%2Fhtml%2Fjump.html&loginType=1&tpl=mn&callback=parent.bdPass.api.login._postCallback&username=xx&password=xx&verifycode=&mem_pass=on"; string url = "https://passport.baidu.com/v2/api/?login"; //准备发送请求 HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); Encoding myEncoding = Encoding.GetEncoding("UTF-8"); byte[] data = myEncoding.GetBytes(postdata); CookieContainer cc=new CookieContainer(); request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; request.Accept = "image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*"; request.KeepAlive = true; request.UserAgent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E))"; request.CookieContainer=cc; request.ContentLength = data.Length; // //发送数据 Stream webStream = request.GetRequestStream(); webStream.Write(data, 0, data.Length); //webStream.Close(); webStream.Flush(); //获取返回数据 HttpWebResponse webResponse = (HttpWebResponse)request.GetResponse(); StreamReader reader = new StreamReader(webResponse.GetResponseStream(), myEncoding ); postdata = reader.ReadToEnd(); Console.WriteLine(postdata); webResponse.Close(); postdata.Trim(); //Cookies CookieContainer cs = new System.Net.CookieContainer(); System.Net.CookieCollection cc1 = cc.GetCookies(new Uri("https://passport.baidu.com/v2/api/?login")); foreach (System.Net.Cookie item in cc1) { Console.WriteLine(item.Name); Console.WriteLine(item.Value); } webBrowser1.Navigate("www.baidu.com");

远程服务器返回错误: (401) 未经授权

c# 模拟登陆带验证码网站,思路是先请求验证码并记录cookie,登陆网站(请求的cookie用请求验证码保存的cookie),始终不能成功,提示未经授权。 请求验证码代码如下: public static void GetCheckCode(string url, string path) { HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); req.ServicePoint.Expect100Continue = false; req.Method = "GET"; req.KeepAlive = true; req.ContentType = "image/png"; req.CookieContainer = new CookieContainer(); HttpWebResponse rsp = (HttpWebResponse)req.GetResponse(); theCC = req.CookieContainer; System.IO.Stream stream = null; try { // 以字符流的方式读取HTTP响应 stream = rsp.GetResponseStream(); System.Drawing.Image.FromStream(stream).Save(path); } finally { // 释放资源 if (stream != null) stream.Close(); if (rsp != null) rsp.Close(); } } 登陆主要代码如下: HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); //配置请求header req.Headers.Add(HttpRequestHeader.AcceptCharset, "GBK,utf-8;q=0.7,*;q=0.3"); req.Headers.Add(HttpRequestHeader.AcceptEncoding, "gzip,deflate,sdch"); req.Headers.Add(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.8"); req.Accept = "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; req.KeepAlive = true; req.Referer = referer; req.Headers.Add(HttpRequestHeader.CacheControl, "max-age=0"); req.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.5 Safari/534.7"; req.Method = "POST"; req.ContentType = "application/x-www-form-urlencoded"; req.AllowAutoRedirect = true; //设置cookieContainer用来接收cookie req.CookieContainer = theCC; //返回请求 res = (HttpWebResponse)req.GetResponse();

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

点沙成金:英特尔芯片制造全过程揭密

“亚马逊丛林里的蝴蝶扇动几下翅膀就可能引起两周后美国德州的一次飓风……” 这句人人皆知的话最初用来描述非线性系统中微小参数的变化所引起的系统极大变化。 而在更长的时间尺度内,我们所生活的这个世界就是这样一个异常复杂的非线性系统…… 水泥、穹顶、透视——关于时间与技艺的蝴蝶效应 公元前3000年,古埃及人将尼罗河中挖出的泥浆与纳特龙盐湖中的矿物盐混合,再掺入煅烧石灰石制成的石灰,由此得来了人...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

C++11:一些微小的变化(新的数据类型、template表达式内的空格、nullptr、std::nullptr_t)

本文介绍一些C++的两个新特性,它们虽然微小,但对你的编程十分重要 一、Template表达式内的空格 C++11标准之前建议在“在两个template表达式的闭符之间放一个空格”的要求已经过时了 例如: vector&lt;list&lt;int&gt; &gt;; //C++11之前 vector&lt;list&lt;int&gt;&gt;; //C++11 二、nullptr ...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

深入剖析Springboot启动原理的底层源码,再也不怕面试官问了!

大家现在应该都对Springboot很熟悉,但是你对他的启动原理了解吗?

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

【阿里P6面经】二本,curd两年,疯狂复习,拿下阿里offer

二本的读者,在老东家不断学习,最后逆袭

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

微软为一人收购一公司?破解索尼程序、写黑客小说,看他彪悍的程序人生!...

作者 | 伍杏玲出品 | CSDN(ID:CSDNnews)格子衬衫、常掉发、双肩包、修电脑、加班多……这些似乎成了大众给程序员的固定标签。近几年流行的“跨界风”开始刷新人们对程序员的...

终于,月薪过5万了!

来看几个问题想不想月薪超过5万?想不想进入公司架构组?想不想成为项目组的负责人?想不想成为spring的高手,超越99%的对手?那么本文内容是你必须要掌握的。本文主要详解bean的生命...

我说我懂多线程,面试官立马给我发了offer

不小心拿了几个offer,有点烦

自从喜欢上了B站这12个UP主,我越来越觉得自己是个废柴了!

不怕告诉你,我自从喜欢上了这12个UP主,哔哩哔哩成为了我手机上最耗电的软件,几乎每天都会看,可是吧,看的越多,我就越觉得自己是个废柴,唉,老天不公啊,不信你看看…… 间接性踌躇满志,持续性混吃等死,都是因为你们……但是,自己的学习力在慢慢变强,这是不容忽视的,推荐给你们! 都说B站是个宝,可是有人不会挖啊,没事,今天咱挖好的送你一箩筐,首先啊,我在B站上最喜欢看这个家伙的视频了,为啥 ,咱撇...

立即提问
相关内容推荐