Coder Social home page Coder Social logo

lyrics-scrapper's Introduction

Tarea Optativo de Python

  • Capturar a que album pertece si es posible

Usage

Para ver la ayuda solo ejecute:

$python pyazlyrics.py --help

Usage: pyazlyrics.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  get-all     Get the info of all site
  get-artist  Get all song of an artist, link look like this: "https://www.azlyrics.com/v/viceganda.html"
  get-page    Get all song of artists within a page, link look like this: "https://www.azlyrics.com/c.html"
  get-song    Get a song info the link looks like this: "https://www.azlyrics.com/lyrics/viceganda/boompanes.html"

Limitaciones

El error que nos da es porque el sitio identifica que estas haciendo muchos requests. Para prevenir eso puse un sleep (lo que hace la cosa más lento). Por ahora pruebenlo como yo lo tenía con solo uno a la vez mientras preparo el código para que no nos detecten.

Cuando no les esté mostrando nada, habran el sitio en la pc y miren a ver que dice.

Instalación

Si tiene anaconda todo debe estar ahí, pero si algo aqui está el requirements.txt para instalar:

pip install -r requirements.txt

lyrics-scrapper's People

Contributors

hiancdtrsnm avatar amdreleon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.