local habr.com proxy
Project description
интересная задача для практики на python
Описание действий
-запустите: python3 _getsense_main.py
-В internet browser введите: http://127.0.0.1:43433/ или http://localhost:43433, должен появится https://habr.com c следующим изменением:
к словам размером 6 символов добавлен знак "TM"
любая ссылка на https://habr.com заменяется на http://127.0.0.1:43433/
Что еще:
в модуле _getsense_proxy.py в описании class _getsense_proxy self.my_url -> как соединяться с local srv и на что меняем self.habr_url в ссылках
Эту практику на языке python придумали вот эти ребята: https://github.com/ivelum/job/blob/master/code_challenges/python.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyhabr_proxy-0.1.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file pyhabr_proxy-0.1.tar.gz
.
File metadata
- Download URL: pyhabr_proxy-0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa3f51b91389afb129b56f1bac45b8a5e061fe100dadd825d854531bb3da9120 |
|
MD5 | 8533bc64ad8635032212906504b60c67 |
|
BLAKE2b-256 | 588f9e2c14857b0bd54f142d5df566ca71f672a49d55e9d49cf5a3ca75630f85 |
File details
Details for the file pyhabr_proxy-0.1-py3-none-any.whl
.
File metadata
- Download URL: pyhabr_proxy-0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd0ff7beb514931fd1b7eee817de5c8742736534d9b84874da193a01c81975a0 |
|
MD5 | 25bbdfb63eee20a4659df4407907e477 |
|
BLAKE2b-256 | 1852f74fb16286ed99b7f3be9f06b01a84744eb8ac38b1bf81bac80d6738821a |