There are already a lot of mobile phone numbers on the network to query the API interface, but these interfaces are always some large and small defects.Summarize these flaws:1, to directly paste its search box link form to their own page, click on the query when you want to jump to their site to show the results of attribution2, the API to provide the interface, generally require payment, or a day only free
When I woke up QQ found someone to find me a paste Stick crawler source code, think of the time before practiced hand wrote a crawl Baidu post record mailbox and mobile phone number crawler, so open source share to everyone learn and reference.Requirements Analysis:This crawler is mainly to Baidu bar in the content of various posts to crawl, and analysis of the content of the post will be the mobile
[Plain]/* Verify the mobile phone number modified by helensong */Bool validatemobile (nsstring * Mobile ){// The mobile phone number starts with 13, 15, and 18 and contains eight \ D numbersNsstring * phoneregex = @ "^ (13 [0-9]) | (15 [^ 4, \ D]) | (18 [-9]) \ D {8} $ ";Nspredicate * phonetest = [nspredicate predicate
string
return message, reason for failure when request fails
Data node Field Description:
Field name
field Type
Field Description
Prefix
Integer
Mobile number segment.
Mobile
String
Search for mobile phone numbe
Common Regular matching expressions
Regular expression--verification of mobile phone number: 13[0-9]{9}
To achieve the mobile phone number 86 or +86 before: ^ (\+86) | (86))? (\d{9}$)
The phone number and mobile
, 12}) + $ /;VaR patrn =/^ [+] {0, 1} (/d) {1, 3} []? ([-]? (/D) | []) {1, 12}) + $ /;If (! Patrn.exe C (s) return falseReturn true}
// Verify the mobile phone number. It must start with a number and can contain "-" in addition to a number.Function ismobil (s){VaR patrn =/^ [+] {0, 1} (/d) {1, 3} []? ([-]? (/D) | []) {1, 12}) + $ /;If (! Patrn.exe C (s) return fa
1. Brief Introduction
Phone number disks can be used to enter letters. For example, if you use 2, you can enter A, B, and C. If you use 3, you can enter D, E, F, and so on.For the number 5869872, You can output all the letters that it represents in sequence. Such as jtmwtpa and jtmwtb ······1) design the program and try to find a meaningful word from these combin
A practical PHP function code, regular expression verification of the correctness of the phone number and query phone number attribution, the following look at the function of the specific code:
View SOURCEPRINT?01
02//Mobile phone Num
'] = = NULL) {trie* temp = malloc (sizeof (Trie)); int i;for (i = 0; i 2) Enquiry:Assume that the string you are looking for is the root node of the Str,trie tree Root,i=0,p=root1) Take str[i], Judge p->next[str[i]-97] is empty, if empty, return false, if not empty, then p=p->next[str[i]-97], continue to take the character.2) repeat 1) until the Terminator ' Isstr ' is encountered and returns true if the current node p is not null and true, otherwise false.BOOL
Let's take a look at the image below.
In the hao123 interface, you only need to enter a mobile phone number, whether it is mobile, Unicom, or Telecom. You can click query to directly query the home location, and number type, such as on the Internet.
There are a lot of websites. I will take this as an example. How can we put this information on our own website?
This crawler is mainly to Baidu bar in the content of various posts to crawl, and analysis of the content of the post will be the mobile phone number and email address crawled out. The main process is explained in detail in the code comments.
Test environment:
Code tested in Windows7 64bit,python 2.7 64bit (Installation mysqldb extension) and CentOS 6.5,python 2.7 (with mysqldb extension)
Environment Pre
I do not know how people celebrate the New Year, anyway, the column master is at home to sleep a day, woke up when QQ found someone to find me to a paste stick crawler source code, think of the time before practiced hand wrote a crawl Baidu post record mailbox and mobile phone number crawler, so open source share to everyone learning and reference.
Requirements Analysis:
This crawler is mainly to Baidu bar
cannot start with 0 The third part: can have the decimal place can also have no decimal, but once appears the decimal point, after at least with a number var reg =/^[+-]? (\d| [1-9]\d+] (\.\d+) $/; valid positive integer (inclusive 0):/^[+]? (\d| [1-9]\d+) $/; valid negative integer (inclusive 0):/^-(\d|[ 1-9]\d+) $/; Judge mobile phone number (simple version):
Startquery function of Callerinfoasyncquery.
Frameworks/base/telephony/java/com/android/internal/callerinfoasyncquery.java/** * Factory to start the Quer
Y based on a number. * * Note:if The number contains a "@" character we treat it * as a SIP address, and look it up directly in the Data
Table * Rather than using the Phonelookup table.
* Todo:but Eventually we should expose two separate, one
Completed a simple and useful WAP site--wap version of the mobile phone number location query
Address: Http://hikey.net/wap
With WAP-enabled mobile phone view, IE does not support
If your phone does not support WAP or if you do not want that kind of money, you can use a simulator provided by Gelon.net to see my work
J
Preparatory work
We need to upgrade our phone's micro-credit software to at least the micro-5.0 version Oh, but I think many friends have been micro-letter 5.0 or higher version,
Solving method
1. In the phone we open the micro-mail and then click "Settings"-"My Account" as shown in the following figure.
2. Then we click on the "mobile phone number" In my a
How can I display the number of messages dynamically by using the desktop App icon (similar to the QQ icon on a mobile phone )?, App icon
Apps on mobile phones, such as QQ and others, can dynamically display the number of messages on the icons (up to 99). Have you ever wondered how these effects are achieved? Can traditional applications developed on the desktop
Note: No real-name mobile phone users must be in the real name before June 1, otherwise it will affect the normal use. According to the microblogging "Moonlight Blog" received a 10086 text message, said that according to the state "full customer real identity registration" requirements, in order to avoid affecting the normal use of the number, the need to carry my ID card and the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.