Skip to main content

Python module allowing you to do various searches for links on the Web.

Project description

WebSearch

Python module allowing you to do various searches for links on the Web.

Python application Publish

PyPI - Version PyPI - Downloads

Installation

pip3 install websearch-python

Use

Quick Start

from websearch import WebSearch as web
for page in web('iTeam-$').pages[:2]:
   print(result)
[RESULTS]

 https://iteam-s.mg/
 https://github.com/iTeam-S

Initialization

from websearch import WebSearch
web = WebSearch('Gaetan Jonathan BAKARY')

Webpages results

webpages = web.pages
for wp in webpages[:5]:
   print(wp)
[RESULTS]

   https://mg.linkedin.com/in/gaetanj
   https://portfolio.iteam-s.mg/?u=gaetan
   https://github.com/gaetan1903
   https://medium.com/@gaetan1903
   https://gitlab.com/gaetan1903

Images results

webimages = web.images
for wp in webimages[:5]:
   print(wp)
[RESULTS]

   https://tse3.mm.bing.net/th?id=OIP.-K25y8TqkOi9UG_40Ti8bgAAAA
   https://tse1.mm.bing.net/th?id=OIP.yJPVcDx6znFSOewLdQBbHgHaJA
   https://tse3.mm.bing.net/th?id=OIP.7rO2T_nDAS0bXm4tQ4LKQAHaJA
   https://tse2.mm.bing.net/th?id=OIP.IUIEkGQVzYRKaDA7WeeV7QHaEF
   https://tse3.explicit.bing.net/th?id=OIP.OmvVnMIVu2ZdNZHZzJK_hgAAAA

PDF results

from websearch import WebSearch
web = WebSearch('Math 220')
pdfs = web.pdf
for pdf in pdfs[:5]:
   print(pdf)
[RESULTS]

   https://www.coconino.edu/resources/files/pdfs/registration/curriculum/course-outlines/m/mat/mat_220.pdf
   https://www.jmu.edu/mathstat/Files/ALEKSmatrix.pdf
   https://www.jjc.edu/sites/default/files/Academics/Math/M220%20Master%20Syllabus%20SP18.pdf
   https://www.sonoma.edu/sites/www/files/2018-19cat-11math.pdf
   https://www.svsd.net/cms/lib5/PA01001234/Centricity/Domain/1009/3.3-3.3B-Practice-KEY.pdf

LICENSE

MIT License

Copyright (c) 2021 iTeam-$


Contributors

contributors GitHub

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

websearch-python-0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

websearch_python-0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file websearch-python-0.1.tar.gz.

File metadata

  • Download URL: websearch-python-0.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for websearch-python-0.1.tar.gz
Algorithm Hash digest
SHA256 9b39fddf7379f978cfab8a99f240ac28aad55c65e809bc2990d76a941cc41ed1
MD5 507adaa70e7c857cbf0f645550574cea
BLAKE2b-256 4cb8d121336020bef21bb80ffaf286263140e367a70a26c83e17ae00d94b2e90

See more details on using hashes here.

Provenance

File details

Details for the file websearch_python-0.1-py3-none-any.whl.

File metadata

  • Download URL: websearch_python-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11

File hashes

Hashes for websearch_python-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a9ecc9e506f09ecd732bd716e5f130514d0349812a1fafdf843575daff4e830
MD5 68959b5746db24f459d887221d83e83a
BLAKE2b-256 7165fd170d91ebf31f85e6fda832c1d0bb29e8d3163207f4f0b100906c243436

See more details on using hashes here.

Provenance

Supported by

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