...and a spelling mistake
This commit is contained in:
parent
abbe1068e4
commit
7d7431a2d5
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@encode42/bandcamp-fetch",
|
"name": "@encode42/bandcamp-fetch",
|
||||||
"version": "1.2.6",
|
"version": "1.2.8",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@encode42/bandcamp-fetch",
|
"name": "@encode42/bandcamp-fetch",
|
||||||
"version": "1.2.6",
|
"version": "1.2.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bottleneck": "^2.19.5",
|
"bottleneck": "^2.19.5",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@encode42/bandcamp-fetch",
|
"name": "@encode42/bandcamp-fetch",
|
||||||
"version": "1.2.6",
|
"version": "1.2.8",
|
||||||
"description": "Scrape Bandcamp content (supports Cloudflare Pages)",
|
"description": "Scrape Bandcamp content (supports Cloudflare Pages)",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run prepare",
|
"build": "npm run prepare",
|
||||||
|
|
|
@ -72,7 +72,7 @@ export default class TrackInfoParser {
|
||||||
|
|
||||||
if (url) {
|
if (url) {
|
||||||
const urlParts = url.split('/');
|
const urlParts = url.split('/');
|
||||||
url.slug = urlParts[urlParts.length - 1];
|
track.slug = urlParts[urlParts.length - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
const imageUrl = reformatImageUrl(basic.image, opts.albumImageFormat);
|
const imageUrl = reformatImageUrl(basic.image, opts.albumImageFormat);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user