ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¥ÎSelenium §ì¤W¥«¦æ±¡§Y®É¸ê®Æ ???

¥»©«³Ì«á¥Ñ singo1232001 ©ó 2022-10-23 18:08 ½s¿è

¥u¦³²Ä¤@¦¸°õ¦æ¤ñ¸û¤[ ¦]¬°¶}ÂsÄý¾¹
    ¦ý¤§«á³£¬O¬íŪ­ò ÂsÄý¾¹³£¦b­I´º¶}µÛ

seleniumdownload v5.zip (33.96 KB)

TOP

¦^´_  t8899

¤@©w­nSelenium?
³o¸Ì§Û¨Óªºxmlhttp,³t«×§Ö¦h¤F
¤Þ¥Î¨Ó·½


¦Û¿ï
y ¬Q¤é¦¬½L»ù
...
quickfixer µoªí©ó 2022-10-23 02:41


§Ú­è´ú¸Õ¡A¶W¹L170°¦¡A´N¥X²{¿ù»~¤F

TOP

¦^´_  t8899


    Sub test56()

Set driver = CreateObject("Selenium.ChromeDriver")

driver.g ...
singo1232001 µoªí©ó 2022-10-23 13:22


ÁÂÁÂ! §Ú¬O«ü xmlhttp ªº»yªk
¹ï¤F¡A«e­±¥S¥x¼gªºSelenium »yªk ¡A5871 ³o°¦ªÑ²¼Äæ¦ì¤£¹ï¡ASplit ªº°ÝÃD?
¥Î xmlhttp »yªk¬O¹ïªº¡C

TOP

¦^´_ 21# t8899


    Sub test56()

Set driver = CreateObject("Selenium.ChromeDriver")

driver.get "https://mis.twse.com.tw/stock/group.jsp?ex=tse&currPage=0&ind=TIDX&bp=0&type=fixed"

Set tbls = driver.findelementsbytag("table")

tbls(5).astable.toexcel Cells(1, 1)

tbls(6).astable.toexcel Cells(1, 10)
End Sub

TOP

¦^´_  t8899

¦Û¿ï
y ¬Q¤é¦¬½L»ù
...
quickfixer µoªí©ó 2022-10-23 02:41


https://mis.twse.com.tw/stock/gr ... ind=TIDX#STATISTICS
½Ð±Ð§Ú·Q§ì¤W­±ºô­¶table 5 To 6  xmlhttpªº»y¥h?

TOP

¥»©«³Ì«á¥Ñ t8899 ©ó 2022-10-23 06:52 ½s¿è
¦^´_  t8899

¤@©w­nSelenium?
³o¸Ì§Û¨Óªºxmlhttp,³t«×§Ö¦h¤F
¤Þ¥Î¨Ó·½




¦Û¿ï
y ¬Q¤é¦¬½L»ù
...
quickfixer µoªí©ó 2022-10-23 02:41

ÁÂÁÂ
¤£¿ù¤£¿ù¡A®Ä²v¤ñSelenium  §Ö¡A´£¨Ñªº­ì¥X³B¡A¯à°÷¦h¾Ç²ß
https://mis.twse.com.tw/stock/ap ... p?ex_ch=tse_2330.tw
¥æ©ö©Ò³o­Óºô§}¥á¥Xªº¸ê®Æ¡A¦³¤@­Ó¯ÊÂI ¡Az(½L¤¤§Y®É¦¨¥æ»ù)´X¥G³£¬O"-"¡A³o¬O5¬í·Ó¤@¦¸®É¡A
·í®É¨S¦³·b¦X¸ê®Æ?­ìºô­¶¬d¸ß¤]¬O¤@¼Ë, ¥u¯à¥Ñ5Àɪº¶R½æ²Ä¤@­Ó»ù¨Ó°Ñ¦Ò¡AÀ³¸Ó§ï¬°³Ì«á¤@µ§¦¨¥æ¸ê®Æ,
¤£ª¾¦³µL¨ä¥Lºô¯¸¯à±o¨ì¤@¼Ëªº¸ê®Æ?

TOP

¥»©«³Ì«á¥Ñ quickfixer ©ó 2022-10-23 02:46 ½s¿è

¦^´_ 11# t8899

¤@©w­nSelenium?
³o¸Ì§Û¨Óªºxmlhttp,³t«×§Ö¦h¤F
¤Þ¥Î¨Ó·½
https://www.mobile01.com/topicdetail.php?f=511&t=4737630


twbts.zip (19.16 KB)
¦Û¿ï
y ¬Q¤é¦¬½L»ù
tv ³æ¶q
s ³æ¶q
b ¶R5ÀÉ»ù
g ¶R¶i5ÀÉ ¶q
a ½æ5ÀÉ»ù
f ½æ¥X5ÀÉ ¶q
v Á`¶q
ot ®É¶¡
z ¦¨¥æ»ù
o ¶}½L
h ³Ì°ª
L ³Ì§C

TOP

¦^´_  t8899


    ¬Oªº ³o¬q§Ú§Ñ¤F¥[¤W¥h¤F ·PÁ§iª¾!

­Y³o¬q¨S¼g ¥´¶}¨â­Óexcel¥H¤W®É  ¦]¬°­p®Éµ{ ...
singo1232001 µoªí©ó 2022-10-21 14:13

¦³¨ÇªÑ²¼ªºÄæ¦ì¶]±¼¤F(¨S¹ï»ô)?¤£ª¾¬O§_¬O¨Ó·½¸ê®Æªº°ÝÃD?

TOP

¥»©«³Ì«á¥Ñ singo1232001 ©ó 2022-10-21 14:46 ½s¿è

¦^´_ 16# singo1232001


    Ãö©ó³o¥÷ÀÉ®× §ï°Ê¤è¦V ºÉ¥i¯àÁקKÂù¶}excel®É¥X²{²§±`(¦ýÁÙ¬O¦³ÂI¤p¯Ê³´,¨Ã¨S¦³§¹¬üÁ׶})
1.²Ä¤@¦¸¶}±ÒÀÉ®×®É ¦Û°Ê°±¤î
2.ÃöÀÉ®É ¦Û°Ê°±¤î­I´º­p®É
3.µ{¦¡½X³£¥[¤W¦Û¨­¤u§@ï½d³òset tbk  (ÁקK¤£¦PÀɮצWºÙ «o¦³¬Û¦P¦WºÙsub ³y¦¨µ{§Ç»~§P°õ¦æ)

¨ä¥L·N¥~Åå³ß ¤£¤p¤ß¿ý»s¥¨¶°®É ¿ý¨ì¤F ontimeªº §¹¾ã¦WºÙ¸ô®|µ{¦¡½X
¤è«K¦b¤£¦PÀɮצP®É°õ¦æ®É ²£¥Í½Ä¬ð ´£¨Ñ¤F¤@±ø·sªº³]©w¤èªk
¤£¹L ¦³³\¦hÅÜ¼Æ ¤]»Ý­n¼W¥[½d³ò,­«·s³]©w

seleniumdownload v4.zip (31.98 KB)

TOP

¦^´_ 14# t8899


    ¬Oªº ³o¬q§Ú§Ñ¤F¥[¤W¥h¤F ·PÁ§iª¾!

­Y³o¬q¨S¼g ¥´¶}¨â­Óexcel¥H¤W®É  ¦]¬°­p®Éµ{§ÇÁÙ¦b­I´ºÄ~Äò

´N·|¦A¦¸§âexcel¥´¶}Ä~Äò°õ¦æ

©Ò¥H¦p¦P§A»¡ªº¤è¦¡³B²z

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦pÆp¥Û¡j®É¶¡¹ï¤@­Ó¦³´¼¼zªº¤H¦Ó¨¥¡A´N¦pÆp¥Û¯ë¬Ã¶Q¡F¦ý¹ï·M¤H¨Ó»¡¡A«o¹³¬O¤@§âªd¤g¡A¤@ÂI»ù­È¤]¨S¦³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD