Module python permettant de faire différente recherche de liens sur le Web.
Project description
WebSearch
Module python permettant de faire différente recherche de liens sur le Web.
Utilisation
Utilisation rapide
from websearch import WebSearch as web
for page in web('iTeam-$').pages[:2]:
print(result)
[RESULTATS]
https://iteam-s.mg/
https://github.com/iTeam-S
Initialiser la recherche
from websearch import WebSearch
web = WebSearch('Gaetan Jonathan BAKARY')
Resultats pour les pages web
webpages = web.pages
for wp in webpages[:5]:
print(wp)
[RESULTATS]
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
Resultats pour les images
webimages = web.images
for wp in webimages[:5]:
print(wp)
[RESULTATS]
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
Resultats pour les PDF
from websearch import WebSearch
web = WebSearch('Math 220')
pdfs = web.pdf
for pdf in pdfs[:5]:
print(pdf)
[RESULTATS]
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-$
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
websearch-python-0.0.2.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for websearch_python-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a5d73db76868cf13581bcdcc0e7f890d371359eb1df15cc650daae81e9c0bed |
|
MD5 | d63adaf794fa563f0badcd302e95f492 |
|
BLAKE2b-256 | 8abd3e0f76efcae8479197ac5b6efbc595d54f371ae710db97a1d1f21e52117b |