Skip to main content

С помощью этой библиотеки, вы сможете парсить информацию с сайта

Project description

Discord server invite

О библиотеке

Пока что эта библиотека в разработке, вот что умеет эта библиотека:

С помощью - import find_url вы импортируете библиотеку.

Чтоб начать находить информацию, пишите find_url.url.find(url, f, f2).

Сдесь url это ссылка которую надо парсить, f это на что начинается то, что вы хотите получить. f2 - На что заканчивается то, что вы хотите получить.

Так же если вы получили готовый html код, используйте find_url.url.html(html, f, f2).

Например, я хочу получить с сайта https://pypi.org/project/find-url/ название, то есть в html коде - <title>find-url · PyPI</title>.

В этом случие То что мы хотим получить начинается на <title>, и заканчивается на </title>.

То есть - find_url.url.find('https://pypi.org/project/find-url/', '<title>', '</title>').

Всё это выдаст "find-url · PyPI"

Пример кода

	import find_url
	find_url.url.find('https://pypi.org/project/find-url/', '<title>', '</title>') # find-url · PyPI
	import requests
	html_text = requests.get(https://pypi.org/project/find-url/).text
	find_url.url.html(html_text, '<title>', '</title>') # find-url · PyPI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

find_url-1.0.7.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

find_url-1.0.7-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file find_url-1.0.7.tar.gz.

File metadata

  • Download URL: find_url-1.0.7.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.8 Windows/7

File hashes

Hashes for find_url-1.0.7.tar.gz
Algorithm Hash digest
SHA256 97e509998fbb1d3e1d24429a68a79d1a3375e9b8bbf34b5e8152a398cce7f12f
MD5 b3c90e53085c03de4acd6d2f056bfd9b
BLAKE2b-256 a1349cfdb82343c074a84494850a71828c679f84af74d4e94c43f0d0a455ed41

See more details on using hashes here.

File details

Details for the file find_url-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: find_url-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.8 Windows/7

File hashes

Hashes for find_url-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf8a74adb02730cb40b1367b006ad433215e363aa165633e3c71e14fc9d5441
MD5 fe180fcd00e2e762f9ab21f664a51abc
BLAKE2b-256 fa242bedcabb6ccfcd1de5da23befbe36c838a78f123129d610e7927c1e30cc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page