bandcamp-scraper:https:bandcamp.com的抓取工具

时间:2021-01-30 16:48:39
【文件属性】:
文件名称:bandcamp-scraper:https:bandcamp.com的抓取工具
文件大小:67KB
文件格式:ZIP
更新时间:2021-01-30 16:48:39
api scraper product album bandcamp 带营刮板 刮板允许您: 搜索artist , album , track , fan , label 从艺术家网址获取专辑网址 从相册网址获取相册信息 从相册网址获取相册产品 从艺术家网址获取艺术家信息 为什么呢 因为Bandcamp已关闭其公共API,并且不打算重新打开它。 安装 npm i --save bandcamp-scraper 用法 search(params, callback) 在与给定params.query匹配的任何资源中搜索当前params.page 。 params对象-查询字符串-页面整数(默认1 ) 回调函数(错误,searchResults) 搜索结果 一系列具有不同属性的资源,具体取决于其type属性: artist ,专辑, track , fan或label 。 每个资源都与匹配。 例 const bandcamp = require ( 'bandcamp-scraper' ) const params = { query : 'Coeur de pirate' , page : 1 } bandcamp . search (
【文件预览】:
bandcamp-scraper-master
----package.json(1KB)
----.github()
--------workflows()
----assets()
--------bandcamp.png(10KB)
----LICENSE(1KB)
----package-lock.json(108KB)
----schemas()
--------album-info.json(1KB)
--------artist-info.json(2KB)
--------album-product.json(1KB)
--------search-result.json(4KB)
--------tag-result.json(592B)
----examples()
--------getAlbumProducts.js(7KB)
--------getAlbumInfo.js(5KB)
--------getAlbumsWithTag.js(6KB)
--------getArtistInfo.js(13KB)
--------getAlbumUrls.js(742B)
--------search.js(6KB)
--------getArtistsUrls.js(4KB)
----spec()
--------support()
--------bandcampScraperSpec.js(6KB)
--------utilsSpec.js(2KB)
----.gitignore(54B)
----CHANGELOG.md(577B)
----lib()
--------utils.js(1KB)
--------index.js(2KB)
--------htmlParser.js(15KB)
----README.md(6KB)

网友评论