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...  -----> Python app detected -----> Installing python-2.7.14 -----> Installing pip -----> Installing requirements with pip  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.  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  Running command git clone -q http://github.com/openaustralia/scraperwiki-python.git /app/.heroku/src/scraperwiki  Running command git checkout -b morph_defaults --track origin/morph_defaults  Switched to a new branch 'morph_defaults'  Branch morph_defaults set up to track remote branch morph_defaults from origin.  Collecting beautifulsoup4==4.9.3  Downloading beautifulsoup4-4.9.3-py2-none-any.whl (115 kB)  Collecting lxml==4.6.3  Downloading lxml-4.6.3-cp27-cp27mu-manylinux1_x86_64.whl (5.5 MB)  Collecting requests==2.26.0  Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)  Collecting dumptruck>=0.1.2  Downloading dumptruck-0.1.6.tar.gz (15 kB)  Collecting soupsieve<2.0,>1.2; python_version < "3.0"  Downloading soupsieve-1.9.6-py2.py3-none-any.whl (33 kB)  Collecting idna<3,>=2.5; python_version < "3"  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)  Collecting certifi>=2017.4.17  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)  Collecting chardet<5,>=3.0.2; python_version < "3"  Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)  Collecting urllib3<1.27,>=1.21.1  Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)  Collecting backports.functools-lru-cache; python_version < "3"  Downloading backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)  Building wheels for collected packages: dumptruck  Building wheel for dumptruck (setup.py): started  Building wheel for dumptruck (setup.py): finished with status 'done'  Created wheel for dumptruck: filename=dumptruck-0.1.6-py2-none-any.whl size=11844 sha256=7755b1d2cb4694100558c0c75eb21f9e1048a9ed3db54d45d79b09eaa128aff0  Stored in directory: /tmp/pip-ephem-wheel-cache-0UWfR9/wheels/dc/75/e9/1e61c4080c73e7bda99614549591f83b53bcc2d682f26fce62  Successfully built dumptruck  Installing collected packages: dumptruck, idna, certifi, chardet, urllib3, requests, scraperwiki, backports.functools-lru-cache, soupsieve, beautifulsoup4, lxml  Running setup.py develop for scraperwiki  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 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.    -----> Discovering process types  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 31 times by kevinliuxiaolei pealabs vladimirgamalyan abentele MikeRalphson heesuk learning-lte hl4hck Swabuu feisr felixmpol akowal

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