NAoHR / azylyrics-scrap-api

tools to scrape Azlyrics song based on its title,improvement version of my late azlyrics scrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

AZLYRICS SCRAPER

Improvement version from my latest Azlyrics scraper that i made using python. This is a tool to scrape Azlyrics based on given title or a lyrics phrase



Installations

  1. Clone this repository
    git clone https://github.com/NAoHR/azylyrics-scrap-api.git
  2. Make it as current directory
    cd azylyrics-scrap-api
  3. Do npm install to install all needed packages
    npm install
  4. Run it, you can use nodemon or node to run this by typing
    node index.js
    or
    nodemon index.js

details

{
 "title": "how to use this api",
 "description": "this is a website that scrap azylyrics's song to get a certain lyrics",
 "content-type": "for educational only",
 "providedRoutes": [
    {
       "type": "search songs",
       "route": "/search",
       "desc": "search routes to get all credential data on data you've searched on.This will return a list based on the song title",
       "validSongTitle": "only seperated by space ( )",
       "example": {
          "plain": "/search",
          "withQuery": "/search?q=all",
          "exampleBody" : {
             "songname" : "what is love"
          }
       },
       "query": {
          "q": {
             "all": "to show requested song based on its lyrics and title",
             "l": "to show requested song based on its lyrics",
             "t": "to show requested song based on its title"
          }
       }
    },
    {
       "type": "get lyrics",
       "route": "/lyrics/artist_song.html",
       "desc": "after you get all the credential data of the song youve searched,use this route to get its lyrics",
       "validSongTitle": "/artist/songTitle.html",
       "example": "/search/twice_whatislove.html"
    }
 ]
}

Disclaimer

I made this project only for educational and to improve my skill. dont do any illegal scrape-thing. if the website prevent you to scrape it,just don't do it

About

tools to scrape Azlyrics song based on its title,improvement version of my late azlyrics scrapper


Languages

Language:JavaScript 99.8%Language:Procfile 0.2%