-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.js
32 lines (23 loc) · 1.31 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// The API key from Genius.com. You can generate yours at: https://docs.genius.com
exports.apiKey = "";
// The names of the artists. Entering a full query isn't needed as the scraper is performing a search.
// If you only want one artist, put in ["ArtistName"]
exports.artistList = ["Sia", "Metallica"];
// How many pages to scrape for each artist. Every page has 20 songs.
// Some pages may have less songs than 20, but other pages may still have more.
exports.pageCount = 3;
// The page to start scraping from. It can be at least 1.
exports.curPage = 1;
// The name of the TXT file. Leave it empty if you want it to be the same as the first artist's name.
exports.fName = "MySongs";
// Put the current date after the file name.
exports.concDate = "True";
// Insert the song name before the lyrics. True or False.
exports.songNameL = "True";
// Remove signs in the lyrics like [Chorus] and [Intro]. This will remove everything between {}, [] and (). True or False.
exports.removeSigns = "True";
// Remove line breaks. Useful when needed. This will put the whole song in a big lump without line breaks. Only line breaks between songs.
exports.removeSpaces = "False";
// Put absolutely everything on a big lump. No line breaks except between sentences.
// Any extra linebreaks are caused by the website.
exports.hugeLump = "False";