Steps to Retrive Link List from SharePoint page

links = $$('a[class="ms-listlink"]'); for (x in links) console.log(links[x].href)
or
links = $x('//a[@class="ms-listlink"]'); for (x in links) console.log(links[x].href)
links = $$('a[class="ms-listlink ms-draggable"]');for (x in links) console.log(links[x].href)
or
links = $x('//a[@class="ms-listlink ms-draggable"]');for (x in links) console.log(links[x].href)
http://xxxxxxxxxx/450W_Ushio_Lamp_Sync_Solutions_HD.xlsx
http://xxxxxxxxxx/450W_Ushio_Lamp_Sync_Solutions_SX.xlsx
http://xxxxxxxxxx/450W_Ushio_Lamp_Sync_Solutions_WU.xlsx
http://xxxxxxxxxx/Automating%20M-series%20upgrade%20Revision%20D.docx
http://xxxxxxxxxx/Bringing%20up%20a%20Washington%20based%20board.docx
http://xxxxxxxxxx/CDualLampManager%20SMDS.docx
http://xxxxxxxxxx/Christie%20M-Series%20Option%20Card%20Test%20Documentation%20for%20EPM.docx
http://xxxxxxxxxx/CLEDStatus_SMDS.docx
http://xxxxxxxxxx/CMobiusOsramAdapter%20SMDS.docx
http://xxxxxxxxxx/CMobiusOsramLampData_SMDS.docx
http://xxxxxxxxxx/CoreIII%20Lamp%20Subsystem%20SRS.docx
http://xxxxxxxxxx/coreIII_build_conventions.docx
http://xxxxxxxxxx/COsramPvipThread_SMDS.docx
http://xxxxxxxxxx/CSingleLampManager_SMDS.docx
http://xxxxxxxxxx/CSmtpClient_SMDS_coreIII.doc
http://xxxxxxxxxx/CSystemControlBoard_SMDS.docx
http://xxxxxxxxxx/Design_Changes_Disable_LMM.docx
http://xxxxxxxxxx/Design_Changes_For_-3_Ushio_Lamp_Driver.docx
http://xxxxxxxxxx/DesignChanges_Wolf_EasyWash1000W.docx
http://xxxxxxxxxx/DHCP_SRS.docx
http://xxxxxxxxxx/DLP_Power_Reset_Control_SMDS.docx
http://xxxxxxxxxx/DMX_SDS.doc
http://xxxxxxxxxx/DMX_Setup_Personality.doc
http://xxxxxxxxxx/DMX_Show_Personality.doc
http://xxxxxxxxxx/DMX_SRS_Version1.doc
http://xxxxxxxxxx/DMX_SRS_Version2.doc
http://xxxxxxxxxx/DMX_ZAP_Personality.doc
http://xxxxxxxxxx/EasyWash_Lamp_Memory_Module_SMDS.docx
http://xxxxxxxxxx/EasyWash_Liquid_Cooling_Module_SMDS.docx
http://xxxxxxxxxx/EasyWash_SRS.docx
http://xxxxxxxxxx/EasyWash_SSDS.docx
http://xxxxxxxxxx/EDID_SMDS.docx
http://xxxxxxxxxx/EEPROM_Client_SMDS.docx
http://xxxxxxxxxx/Eeprom_Driver_SMDS.docx
http://xxxxxxxxxx/Enhanced%20M%20Software%20Requirements.docx
http://xxxxxxxxxx/Failsafe_Upgrade_Architecture_SMDS.docx
http://xxxxxxxxxx/HDF_File_Adapter_SMDS.docx
http://xxxxxxxxxx/HDF_Manager_SMDS.docx
http://xxxxxxxxxx/I2C_Driver_SMDS.docx
http://xxxxxxxxxx/IFan%20Interface.docx
http://xxxxxxxxxx/ILensMoveProjCon_SMDS.docx
http://xxxxxxxxxx/IO_Expander_SMDS_PCA9555.docx
http://xxxxxxxxxx/ISpiBus_SMDS.docx
http://xxxxxxxxxx/Lcd_KeyPad_SMDS.docx
http://xxxxxxxxxx/Lcm_Design_Change.docx
http://xxxxxxxxxx/Log_System_SMDS_CoreIII.docx
http://xxxxxxxxxx/Log_System_SMDS_Mobius.docx
http://xxxxxxxxxx/Log_System_SRS.docx
http://xxxxxxxxxx/Logo_EasyWash_SMDS.doc
http://xxxxxxxxxx/Logo_EasyWash_SRS.doc
http://xxxxxxxxxx/Matrix_Model_SRS.docx
http://xxxxxxxxxx/MotorControl_SMDS.docx
http://xxxxxxxxxx/M-Series_Rear_LED_Behaviour_SRS.docx
http://xxxxxxxxxx/Option_Card_Interface_SMDS.docx
http://xxxxxxxxxx/PLD_Loader_SMDS.docx
http://xxxxxxxxxx/Sanrex_Ballast_Adapter_SMDS.docx
http://xxxxxxxxxx/Secure_Field_Upgrade_System_SRS.docx
http://xxxxxxxxxx/Send_Msg_To_Serial_SMDS.docx
http://xxxxxxxxxx/SNMP_CoreIII_SMDS.docx
http://xxxxxxxxxx/SNMP_CoreIII_SRS.docx
http://xxxxxxxxxx/Status_System_SMDS.docx
http://xxxxxxxxxx/Status_System_SRS.docx
http://xxxxxxxxxx/Temp_Sensor_SMDS_1-Wire.docx
http://xxxxxxxxxx/Tilt_Measurement_Application_Note.docx
http://xxxxxxxxxx/Timers_Advanced_Interval_SMDS.docx
http://xxxxxxxxxx/Timers_SMDS.docx
http://xxxxxxxxxx/Ushio_450W_Lamp_Mobius_SMDS.docx
http://xxxxxxxxxx/Ushio_Lamp_Driver_SDS.docx
http://xxxxxxxxxx/Video_Filter_SMDS_THS7353.docx
http://xxxxxxxxxx/Wolf_770W_Projector_SRS.docx

The following command is able to download files from SharePoint. Refer another [post] (https://my.oschina.net/zungyiu/blog/707702) for more:

curl --ntlm -u <domain>/<user>:<pass>-o "${url_name}" "${url}"

转载于:https://my.oschina.net/zungyiu/blog/711685

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值