Skip to main content

chibi_browser

https://img.shields.io/pypi/v/chibi_browser.svg Documentation Status

Libreria para controllar selenium para mejorar la legibilidad en otros scripts

uso basico

Chibi_browser

Preparar una nueva instancia y usarla para navegar y descargar archivos

from chibi_browser import Chibi_browser
harvest_moon_rom = Chibi_browser(
        'https://archive.org/details/harvest-moon-ranch-master',
        download_folder=Chibi_temp_path() )
links = harvest_moon_rom.select( "div.show-all a.boxy-ttl" )
# buscar el link con el texto "show all" y clickear el boton
for link in links:
        if link.text.lower().strip() == 'show all':
                        link.click()
                        break

# esperar a que cambie la pagina y este visible la tabla de contenido
harvest_moon_rom.wait( 10 ).until(
        wait_conditions.element.visible.select(
                        "table.directory-listing-table" ) )

# alternativa de wait
harvest_moon_rom.wait( 10 ).until.element.invisible.select(
        "table.directory-listing-table" )

# buscar el archivo torrent y hacerle click para descargarlo
table = harvest_moon_rom.select_one( "table.directory-listing-table" )
files = table.select( 'a' )
for f in files:
        if '.torrent' in f.text:
                        f.click()

# esperar a que se descarge el archivo e imprimir los archivos descargados
time.sleep( 2 )
for f in harvest_moon_rom.download_folder.ls():
        print( f )

History

1.4.0 ( 2026-08-20 )

  • se agrego configuration.chibi_browser.default_content_settings.images

  • se agrego configuration.chibi_browser.user_profile_path

1.3.0 ( 2026-07-27 )

  • se cambio al uso de undetected

  • se agrego la propidad obtener todos los atributos de un tag

  • se agrego la funcionalidad de detach

1.2.0 ( 2026-05-15 )

  • se agrego una nueva implementacion apra el wait siendo mas comodo

1.1.0 ( 2026-03-19 )

  • se agrego funciones para comportamiento hummy

  • se agregaron funciones de espera de elementos

1.0.0 (2026-03-01)

  • primera version funcional para controlar selenium

0.0.1 (2026-02-28)

  • First release on PyPI.

Download files

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

Source Distribution

chibi_browser-1.4.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

chibi_browser-1.4.0-py2.py3-none-any.whl (11.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file chibi_browser-1.4.0.tar.gz.

File metadata

  • Download URL: chibi_browser-1.4.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.7

File hashes

Hashes for chibi_browser-1.4.0.tar.gz
Algorithm Hash digest
SHA256 55e7a489ca5ff169a0a97d924f01873be468f2674bdf9e6d6b7738a210998557
MD5 723f5dd4f99eecf23e1d160b7c0fd271
BLAKE2b-256 c1499fa4daf3d2673ec76a856a4651bddb90639a431fe291c98dbc8f6e947d08

See more details on using hashes here.

File details

Details for the file chibi_browser-1.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: chibi_browser-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.7

File hashes

Hashes for chibi_browser-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e0ceb1c991c4d779f248039e335b1ad968ac01c2f093ae4e62891df3f1fb9da5
MD5 7b081b79f84ccbed03e22abb2f435e58
BLAKE2b-256 3bda960a4df94cc80e8dadb3eb0d5026d8c3e1246ee1d9c16b84129f9943f839

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

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