麻辣家族討論版版's Archiver

carzyindex 發表於 2011-4-25 15:21

網頁資料下載

http://www.taifex.com.tw/chinese/3/7_12_1.asp

請問這網頁要改成有日期參數要怎麼改

按了F12還是看不出來         

另外有什麼網頁或書籍是介紹相關的呢   

像yahoo的參數就直接寫在後面

http://tw.stock.yahoo.com/q/q?s=2609

我需要帶日期參數的網頁

小誌 發表於 2011-4-25 17:12

[b]回復 [url=http://forum.twbts.com/redirect.php?goto=findpost&pid=18653&ptid=3308]1#[/url] [i]carzyindex[/i] [/b]


    該網頁是用 post 方式傳遞表單的查詢資料,所以網址當然不會出現參數
這網頁要改成有日期參數要怎麼改?你是該網頁的設計者?不然你怎改參數接收方式?

diabo 發表於 2011-4-25 17:37

[i=s] 本帖最後由 diabo 於 2011-4-25 17:38 編輯 [/i]

大部分的網頁程式設計師沒那麼嚴謹,雖然是POST傳遞參數,但即使用GET傳遞也可以查詢

[url=http://www.taifex.com.tw/chinese/3/7_12_1.asp?syear=2011&smonth=4&sday=22]http://www.taifex.com.tw/chinese/3/7_12_1.asp?syear=2011&smonth=4&sday=22[/url]
[url=http://www.taifex.com.tw/chinese/3/7_12_1.asp?syear=2011&smonth=4&sday=25]http://www.taifex.com.tw/chinese/3/7_12_1.asp?syear=2011&smonth=4&sday=25[/url]

樓主應該是想要蒐集歷史資料,進行統計分析....

小誌 發表於 2011-4-25 17:47

[b]回復 [url=http://forum.twbts.com/redirect.php?goto=findpost&pid=18662&ptid=3308]3#[/url] [i]diabo[/i] [/b]


    哈,這個設計師實在是不及格

carzyindex 發表於 2011-4-25 23:13

[b]回復 [url=http://forum.twbts.com/redirect.php?goto=findpost&pid=18662&ptid=3308]3#[/url] [i]diabo[/i] [/b]


    感謝二樓大大的回覆

傘蜥蜴 發表於 2011-11-3 09:52

你要抓進哪裡?
如果要抓進資料庫
那我有一個笨一點的方法
用excel抓比較快
抓完後再MS SQL裡面用AGENT抓
挺容易的
不太需要寫excel的VBA

頁: [1]

麻辣家族討論版版為 麻辣學園 網站成員  由 昱得資訊工作室 © Since 1993 所提供