Closed spencercap closed 3 years ago
this PR also adds an x-ray filter that trims whitespace (notably \n
and \t
) from the artist field during the scrape
which changes
"artist": "\n\t\t\t\t\t\t\t2Pac feat. Dr. Dre and Roger Troutman\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t",
to
"artist": "2Pac feat. Dr. Dre and Roger Troutman",
@thulioph 🛎 bump
Thank you @spencercap. Can you update your PR, please? After the merge of the other PR there are small conflicts to fix.
there ya go @thulioph 👍
Thank you @spencercap 🤖
added a feature for specifying the page number you want from the whosampled search.
usage, just add the page number you want to end of the route:
http://localhost:3000/artist/2pac/2
FYI - this builds off of the header User-Agent fix in https://github.com/thulioph/whosampled-scraper/pull/12