查詢手機歸屬地

2022-02-26 17:31:47 字數 3105 閱讀 1800

">手機號碼:

")).replace(

">手機號碼:", 

"")i(0

) =trim

(strcont.substring(

0, strcont.indexof(""

))).replace(""

, ""

)strcont 

=strcont.remove(

0, strcont.indexof(

">所屬省份:

")).replace(

">所屬省份:", 

"")i(1

) =trim

(strcont.substring(

0, strcont.indexof(""

))).replace(""

, ""

)strcont 

=strcont.remove(

0, strcont.indexof(

">所屬城市:

")).replace(

">所屬城市:", 

"")i(2

) =trim

(strcont.substring(

0, strcont.indexof(""

))).replace(""

, ""

)txtcont.text 

=trim

(i(0) &

","&

i(1) &

","&

i(2)).replace(vbtab, 

"").replace(

chr(

10), 

"").replace(

chr(

13), "")

catch

ex as

exception

endtry

end sub

end class

不過現在該網頁加了驗證碼,所以此段**不能成功查詢,需要先破解驗證碼。待續

查詢手機歸屬地API

有道api介面引數說明 返回xml格式 13892101112 陝西 延安 或者手機號碼 返回json格式 fyodaocallback 1,096.me api介面 查詢手機號碼歸屬地 手機號 mode 舉例 13892101111 mode txt 返回 13892101111 陝西延安移動全球...

php手機歸屬地查詢

利用 提供的json資料,把查到的資訊存入到本地資料庫中,下次查詢時直接從本地資料庫中讀取。1.效率快。2.以防有一天不再提供這個介面了,不至於此功能完全不能用 提供的資料 1 檢驗給出的手機號是否合法 校驗手機號碼合法 param phone return bool public static f...

java手機號歸屬地查詢

物件 public class phonemodel 省份名稱 param provincename 設定 provincename 屬性值為引數值 provincename public void setprovincename string provincename 城市名稱 return 獲取...