好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > bookfind 通過ISBN序號獲取圖書連接的書名與作者的vbs代碼

bookfind 通過ISBN序號獲取圖書連接的書名與作者的vbs代碼

熱門標簽:海外美發(fā)店地圖標注 打電話的外呼系統(tǒng)貴不貴 前鋒辦理400電話申請 新密防封卡外呼系統(tǒng)違法嗎 辦理膠州400電話財稅 加盟電銷機器人好的品牌 百度地圖標注怎么卸載 外呼營銷下單系統(tǒng) 陜西高頻外呼回撥系統(tǒng)哪家好
核心代碼:
復(fù)制代碼 代碼如下:

If WScript.Arguments.UnNamed.Count > 1 Then Syntax
If WScript.Arguments.Named.Count > 1 Then Syntax
blnTd = False
If WScript.Arguments.Named.Count = 1 Then
If UCase( WScript.Arguments.Named( 0 ) ) = "/TD" Then
blnTd = True
Else
Syntax
End If
End If
strISBN = WScript.Arguments.UnNamed( 0 )
strPgTitle = TitleFromHTML( "http://www.amazon.com/gp/product/" strISBN "/" )
strPattern = "Amazon.com: (.*): Books: (.*)$"
strTitle = RegExpVal( strPattern, strPgTitle, 0 )
strAuthor = RegExpVal( strPattern, strPgTitle, 1 )
If blnTd Then
strMsg = strISBN vbTab strTitle vbTab strAuthor vbCrLf
Else
strMsg = vbCrLf "Title : " strTitle _
vbCrLf "Author : " strAuthor _
vbCrLf "ISBN : " strISBN
End If
WScript.Echo strMsg
Function RegExpVal( strPattern, strString, idx )
On Error Resume Next
Dim regEx, Match, Matches, RetStr
Set regEx = New RegExp
regEx.Pattern = strPattern
regEx.IgnoreCase = True
regEx.Global = True
Set Matches = regEx.Execute( strString )
RegExpVal = Matches( 0 ).SubMatches( idx )
End Function
Function TitleFromHTML( strURL )
Set ie = CreateObject( "InternetExplorer.Application" )
ie.Navigate strURL
Do Until ie.ReadyState = 4
WScript.Sleep 10
Loop
TitleFromHTML = ie.Document.Title
ie.Quit
End Function
Sub Syntax
strMsg = strMsg vbCrLf "BookFind.vbs, Version 1.11" vbCrLf _
"Display book title and author name for the specified ISBN number." vbCrLf vbCrLf _
"Usage: CSCRIPT //NOLOGO BOOKFIND.VBS isbn [ /TD ]" vbCrLf vbCrLf _
"Where: ""isbn"" is the ISBN (or ASIN) of the book to search for" vbCrLf _
" /TD changes the output format to tab delimited" vbCrLf vbCrLf _
"Note: This script uses Amazon's web site to look up author and title." vbCrLf _
" To be precise, the data is extracted from the title of the page" vbCrLf _
" with URL http://www.amazon.com/gp/product/ followed by the ISBN." vbCrLf _
" That means this script will fail when Amazon changes the URLs." vbCrLf vbCrLf _
"Written by Rob van der Woude" vbCrLf _
"http://www.robvanderwoude.com"
Wscript.Echo( strMsg )
Wscript.Quit( 1 )
End Sub

使用方法:
CSCRIPT //NOLOGO BOOKFIND.VBS isbn [ /TD ]
Where: "isbn" is the ISBN (or ASIN) of the book to search for
/TD changes the output format to tab delimited
Note: This script uses Amazon's web site to look up author and title.
To be precise, the data is extracted from the title of the page
with URL http://www.amazon.com/gp/product/ followed by the ISBN.
That means this script will fail when Amazon changes the URLs.
您可能感興趣的文章:
  • javascript字符串與數(shù)組轉(zhuǎn)換匯總
  • Javascript進制轉(zhuǎn)換實例分析
  • Javascript實現(xiàn)顏色rgb與16進制轉(zhuǎn)換的方法
  • JavaScript轉(zhuǎn)換二進制編碼為ASCII碼的方法
  • JavaScript將字符串轉(zhuǎn)換為整數(shù)的方法
  • php根據(jù)isbn書號查詢amazon網(wǎng)站上的圖書信息的示例
  • PHP校驗ISBN碼的函數(shù)代碼
  • JavaScript實現(xiàn)將UPC轉(zhuǎn)換成ISBN的方法

標簽:梅州 河南 伊春 牡丹江 四平 武威 阜陽 咸陽

巨人網(wǎng)絡(luò)通訊聲明:本文標題《bookfind 通過ISBN序號獲取圖書連接的書名與作者的vbs代碼》,本文關(guān)鍵詞  bookfind,通過,ISBN,序號,獲取,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《bookfind 通過ISBN序號獲取圖書連接的書名與作者的vbs代碼》相關(guān)的同類信息!
  • 本頁收集關(guān)于bookfind 通過ISBN序號獲取圖書連接的書名與作者的vbs代碼的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 看黄直播软件| 免费日本视频| 女职员办公室的办公桌| 国产精品久久久久精品综合紧润丹 | 激情 校园 另类 小说 合集| 办公室秘书的滋味k8| 国产3p露脸普通话对白| 黄色a免费| 啊轻点灬大ji巴太粗太长了网站| 久久精品亚洲日本波多| 男人的天堂AV免费网站| 韩国主播朴妮唛19禁bj网| 老女人和老头性XXXⅩXXX| 变态软件下载app大全下载免费版| 无毛片| 极品91尤物被啪到呻吟喷水漫画| 簧色片| 老鸭窝Av一区二区三区| 我早在公司电梯里要了你| 永生在线观看高清完整版| 丰满少妇猛烈进入夜夜揉揉日日人| 亚洲精品性夜夜夜| 免费精品国产福利片| 日本无码吃奶揉捏奶视频| 扒开腿添18禁??免费图片| 久久精品国产福利| 色女人综合网| 回复术士的重来人生樱花动漫2季| 美女不穿衣服网站| 成人免费???APP| 久欠精品国国产99国产精2021使用方法 | 巜被褥里的人妻HD中字| 久久久精品午夜福利电影| 好深好烫好硬湿了| 高h肉文耽美| 吻胸娇喘床震大尺度视频网站| 嗯哼嗯哼~太大了| 电影我和漂亮岳的性关系韩国电影| 操东北老女人| 同城可约全国空降入口| 亚洲精品久久久久久久久久吃药 |