vladimirgamalyan / wiki_mcc_mnc

Mobile country code and mobile network code information from wikipedia.


This is a scraper that runs on Morph. The scraper automatically grabs mcc/mnc data from wikipedia once per day. You can download the data from here.

Also, there is a tiny python script for grab the data from wikipedia and save it in json format. See the gist.

sample

Contributors vladimirgamalyan

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected  ! The latest version of Python 2 is python-2.7.14 (you are using python-2.7.9, which is unsupported).  ! We recommend upgrading by specifying the latest version (python-2.7.14).  Learn More: https://devcenter.heroku.com/articles/python-runtimes -----> Installing python-2.7.9 -----> Installing pip -----> Installing requirements with pip  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to revision morph_defaults) to /app/.heroku/src/scraperwiki  Collecting beautifulsoup4==4.3.2 (from -r /tmp/build/requirements.txt (line 8))  Downloading https://files.pythonhosted.org/packages/30/bd/5405ba01391d06646de9ec90cadeb3893fa355a06438966afff44531219a/beautifulsoup4-4.3.2.tar.gz (143kB)  Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 9))  Downloading https://files.pythonhosted.org/packages/63/c7/4f2a2a4ad6c6fa99b14be6b3c1cece9142e2d915aa7c43c908677afc8fa4/lxml-3.4.4.tar.gz (3.5MB)  Collecting requests==2.7.0 (from -r /tmp/build/requirements.txt (line 10))  Downloading https://files.pythonhosted.org/packages/26/ff/c71b3943bebdd9f7ceb9e137296370587eb0b33fe2eb3732ae168bc45204/requests-2.7.0-py2.py3-none-any.whl (470kB)  Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading https://files.pythonhosted.org/packages/15/27/3330a343de80d6849545b6c7723f8c9a08b4b104de964ac366e7e6b318df/dumptruck-0.1.6.tar.gz  Installing collected packages: dumptruck, requests, scraperwiki, beautifulsoup4, lxml  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py develop for scraperwiki  Running setup.py install for beautifulsoup4: started  Running setup.py install for beautifulsoup4: finished with status 'done'  Running setup.py install for lxml: started  Running setup.py install for lxml: still running...  Running setup.py install for lxml: finished with status 'done'  Successfully installed beautifulsoup4-4.3.2 dumptruck-0.1.6 lxml-3.4.4 requests-2.7.0 scraperwiki   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running...

Data

Downloaded 10 times by vladimirgamalyan hl4hck MikeRalphson akowal Swabuu

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (226 KB) Use the API

rows 10 / 2535

country countryCode operator mccmnc status brand
Brazil
BR
America Net
72426
operational
AmericaNet Movel
Bangladesh
BD
Pacific Bangladesh Telecom Limited
47000
not operational
Citycell
Thailand
TH
Royal Thai Police
52090
operational
Bermuda
BM
Bermuda Digital Communications Ltd.
35000
operational
CellOne
Test networks
Test Network
00101
operational
TEST
Abkhazia
GE-AB
Aquafon JSC
28967
operational
Aquafon
Abkhazia
GE-AB
A-Mobile LLSC
28988
operational
A-Mobile
Afghanistan
AF
Afghan Wireless Communication Company
41201
operational
AWCC
Afghanistan
AF
Telecom Development Company Afghanistan Ltd.
41220
operational
Roshan
Afghanistan
AF
MTN Group Afghanistan
41240
operational
MTN

Statistics

Average successful run time: 2 minutes

Total run time: 1 day

Total cpu time used: about 1 hour

Total disk space used: 319 KB

History

  • Auto ran revision f9c7bd85 and completed successfully .
    2531 records added, 2531 records removed in the database
  • Auto ran revision f9c7bd85 and completed successfully .
    2531 records added, 2530 records removed in the database
    1 page scraped
  • Auto ran revision f9c7bd85 and completed successfully .
    2531 records added, 2531 records removed in the database
    1 page scraped
  • Auto ran revision f9c7bd85 and completed successfully .
    2531 records added, 2529 records removed in the database
  • Auto ran revision f9c7bd85 and completed successfully .
    2529 records added, 2529 records removed in the database
    1 page scraped
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

wiki_mcc_mnc / scraper.py