Skip to main content

Projeto final da disciplina de Programação Orientada a Objetos II

Project description

Descrição

A SearchForThis2 é uma biblioteca que efetua pesquisas em motores de busca na web.

Funcionalidades

  • Realizar buscas por conteúdos desejados
  • Acessar links retornados

Biblioteca

Instalação

pip install SearchForThis2

Importação

import SearchForThis2

Formas de utilização

search = SearchForThis2.Searchft

Ou

from SearchForThis2 import Searchft

Acessando métodos

Uma das formas de acessar os métodos da classe, é a seguinte:

Searchft.method()

Onde method, é o nome método que você deseja utilizar.

Realizando buscas:

Use o método buscar da classe, da seguinte forma:

resultado = Searchft.buscar(conteúdo_da_busca, size)

A variável size, armazena a quantidade de links que você deseja buscar. O conteúdo da busca deve ser uma string.

Visitando links

Use o método visitarLink, da seguinte forma:

Searchft.visitarLink(link)

O link deve ser uma string.

Exemplos de uso

Buscar

VisitarLink

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

SearchForThis2-0.1.5.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file SearchForThis2-0.1.5.tar.gz.

File metadata

  • Download URL: SearchForThis2-0.1.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for SearchForThis2-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5a63de9be5087ef8ea53e64640d6fc7ff67603c3e0d70ef5cedaf3169ae4b1ee
MD5 66e31a4ec03a135743ecbc4973cb31b3
BLAKE2b-256 21c3a8ec8111784e8f2bc732e5a46457c37aace47064093158335e30acc44fb4

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