vladimirgamalyan / wiki_mcc_mnc

Mobile country code and mobile network code information from wikipedia.


Contributors vladimirgamalyan

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Python app detected [1G-----> Installing python-2.7.14 [1G-----> Installing pip [1G-----> Installing requirements with pip [1G DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [1G Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6)) [1G Cloning http://github.com/openaustralia/scraperwiki-python.git (to revision morph_defaults) to /app/.heroku/src/scraperwiki [1G Running command git clone -q http://github.com/openaustralia/scraperwiki-python.git /app/.heroku/src/scraperwiki [1G Running command git checkout -b morph_defaults --track origin/morph_defaults [1G Switched to a new branch 'morph_defaults' [1G Branch morph_defaults set up to track remote branch morph_defaults from origin. [1G Collecting beautifulsoup4==4.9.3 [1G Downloading beautifulsoup4-4.9.3-py2-none-any.whl (115 kB) [1G Collecting lxml==4.6.3 [1G Downloading lxml-4.6.3-cp27-cp27mu-manylinux1_x86_64.whl (5.5 MB) [1G Collecting requests==2.26.0 [1G Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) [1G Collecting dumptruck>=0.1.2 [1G Downloading dumptruck-0.1.6.tar.gz (15 kB) [1G Collecting soupsieve<2.0,>1.2; python_version < "3.0" [1G Downloading soupsieve-1.9.6-py2.py3-none-any.whl (33 kB) [1G Collecting idna<3,>=2.5; python_version < "3" [1G Downloading idna-2.10-py2.py3-none-any.whl (58 kB) [1G Collecting certifi>=2017.4.17 [1G Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) [1G Collecting chardet<5,>=3.0.2; python_version < "3" [1G Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB) [1G Collecting urllib3<1.27,>=1.21.1 [1G Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB) [1G Collecting backports.functools-lru-cache; python_version < "3" [1G Downloading backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB) [1G Building wheels for collected packages: dumptruck [1G Building wheel for dumptruck (setup.py): started [1G Building wheel for dumptruck (setup.py): finished with status 'done' [1G Created wheel for dumptruck: filename=dumptruck-0.1.6-py2-none-any.whl size=11844 sha256=7755b1d2cb4694100558c0c75eb21f9e1048a9ed3db54d45d79b09eaa128aff0 [1G Stored in directory: /tmp/pip-ephem-wheel-cache-0UWfR9/wheels/dc/75/e9/1e61c4080c73e7bda99614549591f83b53bcc2d682f26fce62 [1G Successfully built dumptruck [1G Installing collected packages: dumptruck, idna, certifi, chardet, urllib3, requests, scraperwiki, backports.functools-lru-cache, soupsieve, beautifulsoup4, lxml [1G Running setup.py develop for scraperwiki [1G Successfully installed backports.functools-lru-cache-1.6.4 beautifulsoup4-4.9.3 certifi-2021.10.8 chardet-4.0.0 dumptruck-0.1.6 idna-2.10 lxml-4.6.3 requests-2.26.0 scraperwiki soupsieve-1.9.6 urllib3-1.26.8 [91mDEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [0m [1G [1G [1G-----> Discovering process types [1G Procfile declares types -> scraper Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 65, in <module> main() File "scraper.py", line 51, in main soup = BeautifulSoup(requests.get('https://en.wikipedia.org/wiki/Mobile_country_code').text, 'xml') File "/app/.heroku/python/lib/python2.7/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/app/.heroku/python/lib/python2.7/site-packages/requests/adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='en.wikipedia.org', port=443): Max retries exceeded with url: /wiki/Mobile_country_code (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)'),))

Data

Downloaded 34 times by kevinliuxiaolei vladimirgamalyan pealabs learning-lte abentele hl4hck MikeRalphson heesuk akowal Swabuu feisr felixmpol zoobibackups

To download data sign in with GitHub

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

rows 10 / 2611

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
Guyana
GY
Guyana Telephone & Telegraph Co.
73802
operational
GT&T Cellink Plus
Guyana
GY
Quark Communications Inc.
73803
unknown
Sri Lanka
LK
Lanka Bell Ltd
41313
operational
Lanka Bell
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

Statistics

Average successful run time: 2 minutes

Total run time: 3 days

Total cpu time used: about 2 hours

Total disk space used: 336 KB

History

  • Auto ran revision 74c2f997 and failed .
    nothing changed in the database
  • Auto ran revision 74c2f997 and failed .
    nothing changed in the database
  • Auto ran revision 74c2f997 and failed .
    nothing changed in the database
  • Auto ran revision 74c2f997 and failed .
    nothing changed in the database
  • Auto ran revision 74c2f997 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

wiki_mcc_mnc