profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/codezjx/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
codezjx codezjx Guangzhou, China https://codezjx.com/ Java, Kotlin, NDK, Python

codezjx/AndLinker 452

AndLinker is a IPC library for Android, which combines the features of AIDL and Retrofit. Allows IPC call seamlessly compose with RxJava and RxJava2 call adapters.

codezjx/netease-cloud-music-dl 357

Netease cloud music song downloader, with full ID3 metadata, eg: front cover image, artist name, album name, song title and so on.

codezjx/MockableJarGenerator 18

A modified version of official "MockableJarGenerator" which can generate a "mockable" version android.jar (with enables @hide APIs).

codezjx/acra 1

Application Crash Reports for Android

codezjx/codezjx.github.io 1

Personal blog system

codezjx/Dribbbledroid 1

An unofficial android app for "https://dribbble.com/", now is in development.

codezjx/android-ndk 0

Android NDK samples with Android Studio

codezjx/logcat.tmLanguage 0

Android logcat language definition for SublimeText

codezjx/sqlite3-android 0

SQLite CLI and Library build scripts for Android

startedFSecureLABS/drozer

started time in 19 hours

startedfrida/frida

started time in 21 hours

startedPiasy/VideoCRE

started time in 10 days

startedNanoHttpd/nanohttpd

started time in 11 days

startedflutter-webrtc/flutter-webrtc-demo

started time in a month

startedgoogle/protobuf-gradle-plugin

started time in a month

startedwangjing53406/traceroute-for-android

started time in a month

startedyshrsmz/KeyboardVisibilityEvent

started time in 2 months

startedfirebase/firebase-cpp-sdk

started time in 2 months

startedfirebase/firebase-android-sdk

started time in 2 months

pull request commentcodezjx/netease-cloud-music-dl

New feature: option which enables the user to specify an user-agent

@aisuneko 我看你把api的初始化注释掉了,-a/-p/-h的时候会用到,会报找不到api的错误。应该要把api注释那两处打开,确认下~

aisuneko

comment created time in 3 months

pull request commentcodezjx/netease-cloud-music-dl

Update api.py

@josedelinux 再次感谢你的PR哈~

josedelinux

comment created time in 3 months

pull request commentcodezjx/netease-cloud-music-dl

Update api.py

@josedelinux 果然不一样,我自己试了下,第一次隔20秒后能恢复,再次频繁请求,下一次可能需要隔50-60s,报了个新的 issue #61 。所以,我修改了下你刚提交的代码,改成while了~ 直到返回200为止 🤪

josedelinux

comment created time in 3 months

issue closedcodezjx/netease-cloud-music-dl

{'msg': '操作频繁,请稍候再试', 'code': 406, 'message': '操作频繁,请稍候再试'}

在频繁调用接口的情况下,有概率性会返回406,第一次隔20s左右能恢复,第二次大概要60s,估计是网易云对频繁请求做了限流。

closed time in 3 months

codezjx

push eventcodezjx/netease-cloud-music-dl

codezjx

commit sha 38ccd593ef5e378d95d09f3ced2408ca70691b9e

#61 Bugfix: Fix error code -406, retry until return 200.

view details

push time in 3 months

issue openedcodezjx/netease-cloud-music-dl

{'msg': '操作频繁,请稍候再试', 'code': 406, 'message': '操作频繁,请稍候再试'}

在频繁调用接口的情况下,有概率性会返回406,第一次隔20s左右能恢复,第二次大概要60s,估计是网易云对频繁请求做了限流。

created time in 3 months

push eventcodezjx/netease-cloud-music-dl

josedelinux

commit sha c0ffd669018944d0964a1a60ac338d149ce3963f

Update api.py 下载过程中或有error: Return {'msg': '操作频繁,请稍候再试', 'code': 406, 'message': '操作频繁,请稍候再试'} when try to get http://music.163.com/api/song/detail/?ids=[40638xxxxx] 添加了sleep延时20秒

view details

codezjx

commit sha 15721849d3ae6952467b2a4623e9145b7bea9dd3

Merge pull request #60 from josedelinux/patch-1 Update api.py

view details

push time in 3 months

PR merged codezjx/netease-cloud-music-dl

Update api.py

下载过程中或有error: Return {'msg': '操作频繁,请稍候再试', 'code': 406, 'message': '操作频繁,请稍候再试'} when try to get http://music.163.com/api/song/detail/?ids=[40638xxxxx]

添加了sleep延时20秒

+7 -1

3 comments

1 changed file

josedelinux

pr closed time in 3 months

pull request commentcodezjx/netease-cloud-music-dl

Update api.py

@josedelinux #58 这个issue已经修复了,拉下最新的代码看下~

josedelinux

comment created time in 3 months

issue closedcodezjx/netease-cloud-music-dl

错误代码 -460 “网络太拥挤,请稍候再试”

Return {'code': -460, 'message': '网络太拥挤,请稍候再试!'} when try to post {'ids': [40729218], 'br': 320000, 'csrf_token': ''} => http://music.163.com/weapi/song/enhance/player/url?csrf_token=
Traceback (most recent call last):
  File "/usr/local/bin/ncm", line 33, in <module>
    sys.exit(load_entry_point('netease-cloud-music-dl==0.2.0', 'console_scripts', 'ncm')())
  File "/usr/local/lib/python3.7/dist-packages/netease_cloud_music_dl-0.2.0-py3.7.egg/ncm/start.py", line 69, in main
  File "/usr/local/lib/python3.7/dist-packages/netease_cloud_music_dl-0.2.0-py3.7.egg/ncm/downloader.py", line 22, in download_song_by_id
  File "/usr/local/lib/python3.7/dist-packages/netease_cloud_music_dl-0.2.0-py3.7.egg/ncm/downloader.py", line 54, in download_song_by_song
  File "/usr/local/lib/python3.7/dist-packages/netease_cloud_music_dl-0.2.0-py3.7.egg/ncm/api.py", line 73, in get_song_url
TypeError: 'NoneType' object is not subscriptable

closed time in 3 months

aisuneko

issue commentcodezjx/netease-cloud-music-dl

错误代码 -460 “网络太拥挤,请稍候再试”

感谢@aisuneko 反馈的问题和@AllanChain 提供的思路~

aisuneko

comment created time in 3 months

push eventcodezjx/netease-cloud-music-dl

codezjx

commit sha 60403701eaa049856784ffe982852f78f5c8fcc4

#58 Bugfix: Fix error code -460, update header User-Agent.

view details

push time in 3 months

startedrustdesk/rustdesk

started time in 3 months