Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 833 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 833 Bytes

Mobile Phone Prefix and International Prefix Extractor!

( still better than MPPaIPE =) )

You lazy boy...

File out.json contains what you need.

Extractor

Ectract from wikipedia all required data.

# output will got automagically to out.json
npm run extractor

Please check script command into package.json

http://en.wikipedia.org/wiki/List_of_mobile_phone_number_series_by_country

Dictionary

  • NSN: National Significant Number, i.e. the number of digits after the country code excluding any trunk code or access code.

Cache

First time you run this extractor, the page got from wikipedia, wil be stored into cache.html.

You can rename working_cache.html into cache.html if for some reason, the page got from wikipedia, fails parsing.