Skip to main content

PyPI - License PyPI - Python Version PyPI Travis (.org) Codecov

CubaCrawler

Esta biblioteca apunta a obtener información de los sitios de noticias cubanas (Ahora mismo solo funcionan Cubadebate y Granma).

Como se usa

from CubaCrawler import Crawler

data = Crawler()

data.request("http://www.cubadebate.cu/noticias/2018/09/26/fundada-la-primera-empresa-biotecnologica-cubano-estadounidense-innovative-immunotherapy-alliance-sa/#.W6uvSBQpDeM")
print(data.text)
print(data.comment)

En caso de tener que pasar por un proxy se puede usar de la siguiente manera

from CubaCrawler import Crawler

config = {
    "proxy": "http://user:password@proxy.host:port"
    }
data = Crawler(config)

data.request("http://www.cubadebate.cu/noticias/2018/09/26/fundada-la-primera-empresa-biotecnologica-cubano-estadounidense-innovative-immunotherapy-alliance-sa/#.W6uvSBQpDeM")
print(data.text)
print(data.comment)

O, se pude llamar explicitamente a un Scrapper

from CubaCrawler import Cubadebate

url = "http://www.cubadebate.cu/noticias/2018/09/26/fundada-la-primera-empresa-biotecnologica-cubano-estadounidense-innovative-immunotherapy-alliance-sa/#.W6uvSBQpDeM"
cubadebate = Cubadebate(url)

print(cubadebate.text)
print(cubadebate.comment)

Esta biblioteca es desarrollada por GIA (Grupo de Inteligencia Artificial), cualquier contribución o referencia es agradecida.

thanks,

Frank Sadan Naranjo Noda fsadannn@gmail.com

Hian Cañizares Díaz hiancdtrsnm@gmail.com

Metadata

Release files for CubaCrawler 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CubaCrawler 1.0.0
File Size Uploaded Provenance Actions
CubaCrawler-1.0.0.tar.gz 5.9 kB Without provenance Details for CubaCrawler-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for CubaCrawler 1.0.0
File Interpreter ABI Platform Actions
CubaCrawler-1.0.0-py3-none-any.whl Python 3 none any Details for CubaCrawler-1.0.0-py3-none-any.whl

Total release size: 14.3 kB

Release files / CubaCrawler-1.0.0.tar.gz

Download URL CubaCrawler-1.0.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b5c46ca3c717c259ae20f8281fe935b65fe1ad697d4b285757b2e67f97a79fa4
BLAKE2b-256 checksum
How to use checksums
50ef6c3f3359f1f7e164ed921e948447d6d5d2064caad19400a4f18747c1581a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release files / CubaCrawler-1.0.0-py3-none-any.whl

Download URL CubaCrawler-1.0.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebbfc7d6c263d8609f2a4f53fb63f0ad0ba21fbe724e4e8ffddfb80dd7b9e473
BLAKE2b-256 checksum
How to use checksums
1b5e587bedd6f0826c0a385c408381a9effe9b1f28f6e83220f8cb061814d9e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Security for CubaCrawler 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page