<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What url you need to log in to and how you can get cookies and download data through JSL login. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491388#M73305</link>
    <description>&lt;P&gt;And, if you still want to look at it, 1F8B is the gzip signature (because Accept-Encoding said gzip, among others.) You could use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;blob=Char To Blob(  "~1F~8B~08~00~00~00~00~00~00~03~ABVJ~CEOIU~B2214~D6Q~CA-NW~B2Rz~BEg~D7~D3~0D~13~9FOY~F1~ACc~FB~D3~09~BD~CF:~A6=~ED_~FCd~F7~12%~1D~A5~94~C4~92D%~ABj~A5~E4~C4~82~92~E4~0C 3~AF4'~A7~B6~16~00x&amp;amp;~D1~03E~00~00~00",  "ascii~hex" );
write(blobtochar(Gzip Uncompress(blob)))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;{"code":413,"msg":"缺少用户名或口令","data":{"captcha":null}}&lt;/PRE&gt;
&lt;P&gt;Google Translate: "&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;Missing username or password&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I really think using Selenium might be a better answer. &lt;LI-MESSAGE title="Browser Scripting with Python Selenium" uid="485000" url="https://community.jmp.com/t5/Uncharted/Browser-Scripting-with-Python-Selenium/m-p/485000#U485000" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; shows how to script login and page through some data, loading it into a data table.&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 13:13:10 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2022-05-24T13:13:10Z</dc:date>
    <item>
      <title>What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/480875#M72534</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;This site requires cookies to download the complete data. How do I get cookies and download data through JSL login?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;VBA&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Sub Post()
Dim User_agent, Response_Text, username, password, cookie, json
username = [d1]: password = [f1]
User_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"
Post_data = "return_url=https%3A%2F%2Fwww.jisilu.cn%2Fdata%2Fcbnew%2F&amp;amp;user_name=" &amp;amp; jslencode(username) &amp;amp; "&amp;amp;password=" &amp;amp; jslencode(password) &amp;amp; "&amp;amp;aes=1&amp;amp;auto_login=0"
With CreateObject("WinHttp.WinHttpRequest.5.1")
    .Open "get", "https://www.jisilu.cn/login/", False
    .setrequestheader "User-Agent", User_agent
    .send
    .Open "post", "https://www.jisilu.cn/webapi/account/login_process/", False
    .setrequestheader "User-Agent", User_agent
    .setrequestheader "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"
    .send (Post_data)
    cookie = Split(.getallresponseheaders, "Set-Cookie: ")(2)
    .Open "get", "https://www.jisilu.cn/data/cbnew/detail_hist/" &amp;amp; ([b1] &amp;amp; ""), False
    .setrequestheader "User-Agent", User_agent
    .setrequestheader "cookie", cookie
    .send "fprice=&amp;amp;tprice=&amp;amp;curr_iss_amt=&amp;amp;volume=&amp;amp;svolume=&amp;amp;premium_rt=&amp;amp;ytm_rt=&amp;amp;rating_cd=&amp;amp;is_search=N&amp;amp;market_cd%5B%5D=shmb&amp;amp;market_cd%5B%5D=shkc&amp;amp;market_cd%5B%5D=szmb&amp;amp;market_cd%5B%5D=szcy&amp;amp;btype=&amp;amp;listed=Y&amp;amp;qflag=N&amp;amp;sw_cd=&amp;amp;bond_ids=&amp;amp;rp=50&amp;amp;page=1"
    Response_Text = .responsetext
    Set json = JsonConverter.ParseJson(Response_Text)
End With
End Sub&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:57:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/480875#M72534</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-06-09T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/481136#M72545</link>
      <description>&lt;P&gt;I'm not a VB user, but it appears like it should work in JMP using 3 newHttpRequests.&lt;/P&gt;
&lt;P&gt;The three sections in the VB code end with a ".send".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first section goes to a login page. Not sure why that might be necessary...it doesn't give you the cookie but might be required to visit it first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second section sends the post_data to a URL that will give you a cookie that means you are logged in.&lt;/P&gt;
&lt;P&gt;JMP's httprequest may persist that data for you. Or you might need to tell httprequest to write it to a file and then grab it out of the file.&lt;/P&gt;
&lt;P&gt;The (2) gets the cookie's value from some sort of VB structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The third section uses the URL to get some data and supplies the cookie as your credential. JMP may do that for you.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// get a cookie
try(deletefile("$temp/cookie.txt"));
s = New HTTP Request(
    URL( "http://httpbin.org/cookies/set/aaa/bbb" ),
    Method( "GET" ),
    Headers( {"Accept: application/json", "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0"} ),
    cookiefile("$temp/cookie.txt")
);
data = s &amp;lt;&amp;lt; Send;

show(loadtextfile("$temp/cookie.txt"));



// send a cookie
s = New HTTP Request(
    URL( "http://httpbin.org/cookies" ),
    Method( "GET" ),
    Headers( {
    "Accept: application/json", 
    "Cookie: PHPSESSID=298zf09hf012fh2; csrftoken=u32t4o3tb3gg43; _gat=1", 
    "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0"
    } )
);
data = s &amp;lt;&amp;lt; Send;
Show( data );  // note the aaa cookie was persisted
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Apr 2022 16:54:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/481136#M72545</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-04-21T16:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482406#M72678</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I have tried many times but there is no way to directly log in and download the full data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I found a Python code on the Internet,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-04-27_21-39-09.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42057i710C5F9D559249F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-04-27_21-39-09.png" alt="2022-04-27_21-39-09.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:53:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482406#M72678</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-04-27T13:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482407#M72679</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;class AllcontentSpider(scrapy.Spider):
    name = 'allcontent'

    headers = {
        'Host': 'www.jisilu.cn', 'Connection': 'keep-alive', 'Pragma': 'no-cache',
        'Cache-Control': 'no-cache', 'Accept': 'application/json,text/javascript,*/*;q=0.01',
        'Origin': 'https://www.jisilu.cn', 'X-Requested-With': 'XMLHttpRequest',
        'User-Agent': 'Mozilla/5.0(WindowsNT6.1;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/67.0.3396.99Safari/537.36',
        'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
        'Referer': 'https://www.jisilu.cn/login/',
        'Accept-Encoding': 'gzip,deflate,br',
        'Accept-Language': 'zh,en;q=0.9,en-US;q=0.8'
    }

    def start_requests(self):
        login_url = 'https://www.jisilu.cn/login/'
        headers = {
            'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
            'Accept-Encoding': 'gzip,deflate,br', 'Accept-Language': 'zh,en;q=0.9,en-US;q=0.8',
            'Cache-Control': 'no-cache', 'Connection': 'keep-alive',
            'Host': 'www.jisilu.cn', 'Pragma': 'no-cache', 'Referer': 'https://www.jisilu.cn/',
            'Upgrade-Insecure-Requests': '1',
            'User-Agent': 'Mozilla/5.0(WindowsNT6.1;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/67.0.3396.99Safari/537.36'}

        yield Request(url=login_url, headers=headers, callback=self.login,dont_filter=True)

    def login(self, response):
        url = 'https://www.jisilu.cn/account/ajax/login_process/'
        data = {
            'return_url': 'https://www.jisilu.cn/',
            'user_name': config.username,
            'password': config.password,
            'net_auto_login': '1',
            '_post_type': 'ajax',
        }

        yield FormRequest(
            url=url,
            headers=self.headers,
            formdata=data,
            callback=self.parse,
            dont_filter=True
        )

    def parse(self, response):
        for i in range(1,3726):
            focus_url = 'https://www.jisilu.cn/home/explore/sort_type-new__day-0__page-{}'.format(i)
            yield Request(url=focus_url, headers=self.headers, callback=self.parse_page,dont_filter=True)

    def parse_page(self, response):
        nodes = response.xpath('//div[@class="aw-question-list"]/div')
        for node in nodes:
            each_url=node.xpath('.//h4/a/@href').extract_first()
            yield Request(url=each_url,headers=self.headers,callback=self.parse_item,dont_filter=True)

    def parse_item(self,response):
        item = JslItem()
        title = response.xpath('//div[@class="aw-mod-head"]/h1/text()').extract_first()
        s = response.xpath('//div[@class="aw-question-detail-txt markitup-box"]').xpath('string(.)').extract_first()
        ret = re.findall('(.*?)\.donate_user_avatar', s, re.S)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:44:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482407#M72679</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-04-27T13:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482408#M72680</link>
      <description>&lt;P&gt;It not work:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;BR /&gt;s = New HTTP Request( URL( "https://www.jisilu.cn/login" ), Method( "get" ) );
data = s &amp;lt;&amp;lt; Send;
username = "lala";
password = "jmp";
jj = "return_url=http://www.jisilu.cn/&amp;amp;user_name=" || username || "&amp;amp;password=" || password || "&amp;amp;net_auto_login=1&amp;amp;_post_type=ajax";
h = [=&amp;gt; ];
h["Content-Type"] = "application/json";
h["User-Agent"] = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36";
h["Content-Type"] = "application/x-www-form-urlencoded; charset=UTF-8";

s = New HTTP Request( URL( "https://www.jisilu.cn/webapi/account/login_process/" ), Method( "POST" ), JSON( jj ), Headers( h ) );
data1 = s &amp;lt;&amp;lt; Send;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:47:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482408#M72680</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-04-27T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482437#M72684</link>
      <description>&lt;P&gt;What did it do? Anything in the log window?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show(data);&lt;/P&gt;
&lt;P&gt;Show(s&amp;lt;&amp;lt;getResponseHeaders);&lt;/P&gt;
&lt;P&gt;Show(s&amp;lt;&amp;lt;getWarningHeaders);&lt;/P&gt;
&lt;P&gt;Show(s&amp;lt;&amp;lt;Get Status Message);&lt;/P&gt;
&lt;P&gt;Show(s&amp;lt;&amp;lt;Get Last URL);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have Python code that works, why not use it?&lt;/P&gt;
&lt;P&gt;Use the Python code to make a .csv file and import that into JMP.&lt;/P&gt;
&lt;P&gt;You can call it from JMP, either with the Python interface or with RunProgram.&lt;/P&gt;
&lt;P&gt;Same thing with a VB program to make a .csv file and import it.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:25:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482437#M72684</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-04-27T15:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482663#M72700</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;A target="_blank"&gt;show&lt;/A&gt;&lt;/SPAN&gt;&lt;/EM&gt;:&amp;nbsp; &amp;nbsp;A user name or password is missing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-04-28_11-39-12.png" style="width: 949px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42079iC85C89C360CCF9BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-04-28_11-39-12.png" alt="2022-04-28_11-39-12.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 09:59:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482663#M72700</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-04-28T09:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482752#M72706</link>
      <description>&lt;P&gt;This is beyond the scope of this forum. Perhaps the site provides an API for what you want to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the site uses javascript to help verify you are properly logged in.&amp;nbsp; JMP does not run the javascript.&lt;/P&gt;
&lt;P&gt;The captcha may be part of the problem, and may require human interaction.&lt;/P&gt;
&lt;P&gt;If the user name or password contain special characters then it will need some sort of encoding.&lt;/P&gt;
&lt;P&gt;The 413 error code might mean something else is wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 12:55:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/482752#M72706</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-04-28T12:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/485053#M72914</link>
      <description>&lt;P&gt;&lt;LI-MESSAGE title="Browser Scripting with Python Selenium" uid="485000" url="https://community.jmp.com/t5/Uncharted/Browser-Scripting-with-Python-Selenium/m-p/485000#U485000" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Won't be easy, but it is possible. Until you get a captcha that must be solved.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 02:10:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/485053#M72914</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-05-09T02:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491101#M73294</link>
      <description>&lt;P&gt;请原谅我的坚持。&lt;/P&gt;&lt;P&gt;这个题目我继续尝试了。&lt;/P&gt;&lt;P&gt;发现这个方式能通过脚本登录、没有登录失败的提示。&lt;/P&gt;&lt;P&gt;但我还是不会分析其中的内容。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;谢谢！&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-05-24_14-47-10.png" style="width: 665px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42660i0B7694CD00110D6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-05-24_14-47-10.png" alt="2022-05-24_14-47-10.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:57:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491101#M73294</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-05-24T06:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491121#M73295</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;I don't know if cookie in there?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Char To Blob(  "~1F~8B~08~00~00~00~00~00~00~03~ABVJ~CEOIU~B2214~D6Q~CA-NW~B2Rz~BEg~D7~D3~0D~13~9FOY~F1~ACc~FB~D3~09~BD~CF:~A6=~ED_~FCd~F7~12%~1D~A5~94~C4~92D%~ABj~A5~E4~C4~82~92~E4~0C 3~AF4'~A7~B6~16~00x&amp;amp;~D1~03E~00~00~00",  "ascii~hex" )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:54:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491121#M73295</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-05-24T06:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491122#M73296</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;This is true in the browser cookie&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;kbz_newcookie=1; kbzw__user_login=7Obd08_P1ebax9aXwZKsmLCuprCTpYKvpuXK7N_u0ejF1dSeq8WhwtappqDaotqYq8TYqNStwtSapKusy6rNp8euxa-YrqXW2cXS1qCasZypl6iZmLKgzaLOvp_G5OPi2OPDpZalp5OguNnP2Ojs3Jm6y4Ksj6iyk8-wx5eoopWq6dzjx83G2cLc7JCllKunqJ-ZlMKqyq7Do5PkytvGlMDazOTboIK5yenm4N2Qp5miqaOcspyrkKeRr5fG2cfR092oqpywmqqY; kbzw__Session=mnijj070u2h083ms7ouuah9b22; Hm_lvt_164fe01b1433a19b507595a43bf58262=1652962728,1652966374,1653359409,1653375276; Hm_lpvt_164fe01b1433a19b507595a43bf58262=1653375282&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2022 06:56:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491122#M73296</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-05-24T06:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491325#M73302</link>
      <description>Yes, I think the website depends on JavaScript for some of its security. I think you'll want to look at the other blog post on using Selenium. That way you can script an existing browser that works from jmp.</description>
      <pubDate>Tue, 24 May 2022 12:29:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491325#M73302</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-05-24T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491388#M73305</link>
      <description>&lt;P&gt;And, if you still want to look at it, 1F8B is the gzip signature (because Accept-Encoding said gzip, among others.) You could use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;blob=Char To Blob(  "~1F~8B~08~00~00~00~00~00~00~03~ABVJ~CEOIU~B2214~D6Q~CA-NW~B2Rz~BEg~D7~D3~0D~13~9FOY~F1~ACc~FB~D3~09~BD~CF:~A6=~ED_~FCd~F7~12%~1D~A5~94~C4~92D%~ABj~A5~E4~C4~82~92~E4~0C 3~AF4'~A7~B6~16~00x&amp;amp;~D1~03E~00~00~00",  "ascii~hex" );
write(blobtochar(Gzip Uncompress(blob)))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;{"code":413,"msg":"缺少用户名或口令","data":{"captcha":null}}&lt;/PRE&gt;
&lt;P&gt;Google Translate: "&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="zh-CN" data-phrase-index="0" data-number-of-phrases="1"&gt;&lt;SPAN class="Q4iAWc"&gt;Missing username or password&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I really think using Selenium might be a better answer. &lt;LI-MESSAGE title="Browser Scripting with Python Selenium" uid="485000" url="https://community.jmp.com/t5/Uncharted/Browser-Scripting-with-Python-Selenium/m-p/485000#U485000" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; shows how to script login and page through some data, loading it into a data table.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 13:13:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491388#M73305</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-05-24T13:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: What url you need to log in to and how you can get cookies and download data through JSL login.</title>
      <link>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491487#M73307</link>
      <description>&lt;P class=""&gt;Thank Craige!&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I see. So that's it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Unfortunately, I do not have Python installed on my computer and have not installed Python since USING JMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;From this example alone, it seems that VBA is easier than Python to get cookies for web pages that need to be logged in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2022-05-24_21-59-30.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/42663iCAE3B07B2617A353/image-size/large?v=v2&amp;amp;px=999" role="button" title="2022-05-24_21-59-30.png" alt="2022-05-24_21-59-30.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:05:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-url-you-need-to-log-in-to-and-how-you-can-get-cookies-and/m-p/491487#M73307</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-05-24T14:05:16Z</dc:date>
    </item>
  </channel>
</rss>

