Skip to content

Commit

Permalink
update: 移除多余代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Dec 20, 2023
1 parent a505114 commit 5c1f3ae
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 30 deletions.
1 change: 0 additions & 1 deletion module/creator_authinfo_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 获取达人用户信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down
1 change: 0 additions & 1 deletion module/fanscenter_basicinfo_age_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 粉丝年龄比例
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down
1 change: 0 additions & 1 deletion module/fanscenter_basicinfo_gender_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 粉丝性别比例
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down
1 change: 0 additions & 1 deletion module/fanscenter_basicinfo_province_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 粉丝省份比例
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down
1 change: 0 additions & 1 deletion module/fanscenter_overview_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 粉丝数量
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down
1 change: 0 additions & 1 deletion module/fanscenter_trend_list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 粉丝来源
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
startTime: query.startTime || Date.now() - 7 * 24 * 3600 * 1000,
Expand Down
1 change: 0 additions & 1 deletion module/playmode_song_vector.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 云随机播放
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
ids: query.ids,
Expand Down
1 change: 0 additions & 1 deletion module/sheet_list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 乐谱列表
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
id: query.id,
Expand Down
1 change: 0 additions & 1 deletion module/sheet_preview.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 乐谱预览
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
id: query.id,
Expand Down
1 change: 0 additions & 1 deletion module/song_url_v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// 此版本不再采用 br 作为音质区分的标准
// 而是采用 standard, exhigh, lossless, hires, jyeffect(高清环绕声), sky(沉浸环绕声), jymaster(超清母带) 进行音质判断

const crypto = require('crypto')
module.exports = (query, request) => {
query.cookie.os = 'android'
query.cookie.appver = '8.10.05'
Expand Down
1 change: 0 additions & 1 deletion module/song_wiki_summary.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 音乐百科基础信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
songId: query.id,
Expand Down
1 change: 0 additions & 1 deletion module/threshold_detail_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 获取达人达标信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down
1 change: 0 additions & 1 deletion module/ugc_album_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 专辑简要百科信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
albumId: query.id,
Expand Down
20 changes: 7 additions & 13 deletions module/ugc_artist_get.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
// 歌手简要百科信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
artistId: query.id,
}
return request(
'POST',
`https://music.163.com/weapi/rep/ugc/artist/get`,
data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
url: '/api/rep/ugc/artist/get',
},
)
return request('POST', `https://music.163.com/api/rep/ugc/artist/get`, data, {
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
url: '/api/rep/ugc/artist/get',
})
}
1 change: 0 additions & 1 deletion module/ugc_artist_search.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// 搜索歌手
// 可传关键字或者歌手id
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
keyword: query.keyword,
Expand Down
1 change: 0 additions & 1 deletion module/ugc_mv_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// mv简要百科信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
mvId: query.id,
Expand Down
1 change: 0 additions & 1 deletion module/ugc_song_get.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 歌曲简要百科信息
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {
songId: query.id,
Expand Down
1 change: 0 additions & 1 deletion module/ugc_user_devote.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 用户贡献条目、积分、云贝数量
const crypto = require('crypto')
module.exports = (query, request) => {
const data = {}
return request(
Expand Down

0 comments on commit 5c1f3ae

Please sign in to comment.