Giter Club home page Giter Club logo

aria2c-ariang's Introduction

GitHub Stats

I am a master student in NTU CSIE doing research related to security and cryptography.

My favorite programming languages are JavaScript and Python, and I'm also familiar with Java, C, C++, and PHP. Developed a bunch of semi-abandoned projects here.

Started to play CTF since late 2020, and I'm good at Web and Crypto challenges, and I also know a bit about Pwn and Reverse. I play on teams like ${cystick}, XxTSJxX, and sometimes with Balsn, check out my CTFTime page for more details.

I also have a blog here, it is mostly CTF writeups now and most of them are written in Chinese.

Links

aria2c-ariang's People

Contributors

fanweiya avatar maple3142 avatar prabha-coder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aria2c-ariang's Issues

Unfinished downloads??

i've noticed unfinished downloads are also moved to rclone remote destination specified..what i expected was only completed tasks are moved to destination

aria2 secret

请问这个密码是多少呀,没找到在哪里有密码

double upload issue

image
theres a bug where sometimes the torrent is uploaded twice via rclone...please fix it if u can...tysm

Upload to Google teamdrive with aria

Is it possible to upload to Google teamdrive with aria2
I have made rclone config including team drive just don't konw what should be path for teamdrive to put in aria rclone_destination

Trying to connect to aria2 using the new connection configuration

The app just keeps saying "Trying to connect to aria2 using the new connection configuration" and then it say "Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings" there are no errors in the logs

2020-02-09T06:17:23.545530+00:00 app[web.1]:
2020-02-09T06:17:23.545530+00:00 app[web.1]:
2020-02-09T06:17:23.545531+00:00 app[web.1]:
2020-02-09T06:17:23.545532+00:00 app[web.1]:
2020-02-09T06:17:23.545532+00:00 app[web.1]:
2020-02-09T06:17:23.545532+00:00 app[web.1]:
2020-02-09T06:17:23.545532+00:00 app[web.1]:
2020-02-09T06:17:23.545534+00:00 app[web.1]: 02/09 06:17:23 [�[1;32mNOTICE�[0m] Serialized session to 'aria2c.session' successfully.
2020-02-09T06:18:15.482447+00:00 heroku[router]: at=info method=GET path="/service-worker.js" host=torrentbotwebsite.herokuapp.com request_id=735fdd27-9835-4af3-8149-1f0786fc927d fwd="94.56.202.9" dyno=web.1 connect=0ms service=2ms status=404 bytes=400 protocol=https
2020-02-09T06:18:41.119440+00:00 heroku[router]: at=info method=GET path="/service-worker.js" host=torrentbotwebsite.herokuapp.com request_id=cf556bf0-efec-4d06-b15a-32d1fa80df62 fwd="94.56.202.9" dyno=web.1 connect=0ms service=2ms status=404 bytes=400 protocol=https

Onedrive的token使用一小时后就会过期

Rclone挂载Onedrive获取的access token会在获取一小时后过期,再部署完成后的第一个小时能够正常同步,过期后就无法通过rclone同步文件到onedrive,在logs里会显示
“Failed to create file system for "DRIVE:/XXX(同步的文件夹)": failed to get root: InvalidAuthenticationToken: Access token has expired.”
这时候也没办法修改填入的rclone conf,只能重新deploy,有没有什么解决办法

Need Zip feature

can you add zip feature ? i mean if we tick zip option before clicking download the file will be convert to zip and upload to cloud drives as zip.That option will be very helpful

why app suddenly restarts

For keelping app alive I did some things

  1. Rclone setup that was successfully uploading
  2. Added dead torrent that kept running app even after no web request

This was good with previous version
But in latest update I don't know why but even after dead torrent kept for dowoad the app suddenly restarts anyone facing this ??

下载后的文件如何删除

想把上传的文件移动,但是本地的文件不删除又会重新上传,还有请问支持下载文件的大小是多大,谢谢!

Error when deploying via docker

Hello, could the command to deploy on a machine to self host be up to date? Nothing seems to happen the I run the following command docker-compose -d -f docker\docker-compose.yml up as directed from here after installing all the necessary requirements. The only output from the system is the 'correct syntax' on how to use the command and help info on how to run the command but nothing else happens.
Running on OS: Ubuntu 18.04

功能增强--添加Server chan通知

Serverchan
下载完成后无法看到上传进度也就不知道什么时候上传完,添加Server chan可以在传完后发送通知,并且也只需要token就来发送,可以在部署是添加环境变量。

世纪互联

请问能不能支持世纪互联的OneDrive网盘呢

Unfinished torrent downloads

Hi maple3142 could you help me?

I have implemented yourAria2 Torrent Leecher but i noticed that some torrent files that I put does not appear to download progress. In fact, it looks as if there was no download.

So after a while when I look at the folder I set up to be saved, the files are there.

My problem is that I have downloaded courses for my TD and some courses are not being rendered by google drive. Even when I download it to my computer it looks like the video is corrupted.

Some courses work and others don’t.

I will put some screens that what´s happen with me.

https://prnt.sc/se7ful

The files have been downloading for over an hour.
However when I enter my TD they appear, only if I download a video to my computer I cannot run it.

https://prnt.sc/se7hrf

Authorization Failed

after setting get Autorization Failed

Rclone Config
[heroku]
type = drive
client_id = 618553141269-lkeo260uvbl0amdiss5bh3ridekki5nd.apps.googleusercontent.com
client_secret = -Gw_K3hNRfq1TJz4Np0DH9T9
scope = drive
token = {"access_token":"ya29.a0Ae4lvC13t3OrYIXoi8aPwIqO_W-_kzJQ6Wa6LUyXScYFJcGYSuQT8DbC7-RKnfATWiFwM15qqOHa7aeFKQKV-F-hEJxl50E8-3djNKxHHrl616vMW-sKGiLK_XbKeegqhC8knUwV42JaCVpjqQsl5I2qmfdmfpNopQU","token_type":"Bearer","refresh_token":"1//0gK-VbTmoHMMsCgYIARAAGBASNwF-L9IrW7L8udY7_RhNq-5jVPI28KMwaJzXmMKD1w_bqQhDLH2h-jf1DtdBLg9VtWCKQ8ZSksM","expiry":"2020-05-03T18:33:44.797847+05:30"}
team_drive = 0AGs-NBGWEYPMUk9PVA

uget使用

请问在uget上该如何配置,才能连接上部署的aria2c离线下载,谢谢。

Found why onedrive upload is slow !!

Well when we download a single file or so many different files not a whole bunch with a folder rclone does it better when it uploads to onedrive speed is upto 8 to 10mbps
But when we upload a folder having so many files rclone uploads files in batches of 4 (As I have observed in logs) so the speed is divided and uploads become slow before completing one batch it starts 2nd one as a process and there speed is in kbps

So those who know coding is there any way to

  1. Make rclone upload files one by one and not in batches
  2. Determine upload chunk at one time or the limit of upload at one time

Either of this can solve the issue if it's possible to do with rclone I mean with commands that can put this in process
So if anyone know such commands or solutions please contribute

Some questions

大佬好,请问能否修改rclone使之支持OD世纪互联?

以及再问一下,下载过程中如果超过了自动休眠时间30min是否会停止?
还是我需要设置网站监控保持活跃?

无法上传google drive

我使用本地win系统已经配置好的gclone的rclone.conf,内容如下:
[xxking1]
type = drive
client_id = 457587067xxx-trjkmlvr127a7ite2esbr12po7fs6k1g.apps.googleusercontent.com
client_secret = ATIe6zZfepiqlkxxRhh5xxcf
scope = drive
service_account_file = C:\rclone\accounts\00dce84a1581490068cae244665b6ddb8d253a3b.json
service_account_file_path = C:\rclone\accounts
team_drive = 0AFgrEjPryvOxxk9PVA

RCLONE_CONFIG内容如下:
type = drive\nclient_id = 457587067xxx-trjkmlvr127a7ite2esbr12po7fs6k1g.apps.googleusercontent.com\nclient_secret = ATIe6zZfepiqlkxxRhh5xxcf\nscope = drive\nteam_drive = 0AFgrEjPryvOxxk9PVA

heroku日志如下:
2020-04-16T05:21:37.366739+00:00 app[web.1]: 04/16 05:21:37 [�[1;32mNOTICE�[0m] Download complete: downloads/Pulang.Insanity.Lunatic.Edition-CODEX
2020-04-16T05:21:37.367130+00:00 app[web.1]:
2020-04-16T05:21:37.367131+00:00 app[web.1]: 04/16 05:21:37 [�[1;32mNOTICE�[0m] Your share ratio was 1.9, uploaded/downloaded=14GiB/7.9GiB
2020-04-16T05:21:37.378401+00:00 app[web.1]: 04/16 05:21:37 [�[1;32mINFO�[0m] Delete .aria2 file ...
2020-04-16T05:21:37.381442+00:00 app[web.1]: 04/16 05:21:37 [�[1;32mINFO�[0m] Delete .aria2 file finish
2020-04-16T05:21:37.648815+00:00 app[web.1]: 2020/04/16 05:21:37 Failed to create file system for "DRIVE://": drive: failed when making oauth client: failed to create oauth client: empty token found - please run rclone config again
2020-04-16T05:21:37.683077+00:00 app[web.1]:
2020-04-16T05:21:37.683079+00:00 app[web.1]: 04/16 05:21:37 [�[1;32mNOTICE�[0m] Serialized session to 'aria2c.session' successfully.
2020-04-16T05:26:44.505968+00:00 app[web.1]: preventIdling: getGlobalStat response {
2020-04-16T05:26:44.505978+00:00 app[web.1]: id: 'preventIdling',
2020-04-16T05:26:44.505979+00:00 app[web.1]: jsonrpc: '2.0',
2020-04-16T05:26:44.505980+00:00 app[web.1]: result: {
2020-04-16T05:26:44.505980+00:00 app[web.1]: downloadSpeed: '0',
2020-04-16T05:26:44.505981+00:00 app[web.1]: numActive: '0',
2020-04-16T05:26:44.505981+00:00 app[web.1]: numStopped: '4',
2020-04-16T05:26:44.505982+00:00 app[web.1]: numStoppedTotal: '4',
2020-04-16T05:26:44.505982+00:00 app[web.1]: numWaiting: '0',
2020-04-16T05:26:44.505983+00:00 app[web.1]: uploadSpeed: '0'
2020-04-16T05:26:44.505983+00:00 app[web.1]: }

Error with rclone config

I got this error
Failed to create file system for "DRIVE:Web-Uploads": didn't find backend called "drive/nscope = drive/nroot_folder_id = 0ALRz3dIRQuatUk9PVA/ntoken = {\"access_token\":\"ya29.a0AfH6SMDMpLQ5hBxzuaBC6fg4ppKrf9OZyOB4LoSJzwLvsWK5thZ3vKRsp96hnEtWicGXb8aqxbnVahjaYaHvZp3XxFNHpUcHXhjcpzSntI_pEuJ1dy23KagOsB2Ogs1jzm8-jf34N6uqvtHsrf0Rumlx5RVUXuwdNPk\",\"token_type\":\"Bearer\",\"refresh_token\":\"1//0gMT2vH1k5cPMCgYIARAAGBASNwF-L9IrfM8bjKnENTlsgimM7Gt80yg_rK7sQRO8B2CJmGlEh1T-ZkDk7OVCUDjE76CG7IPqw\",\"expiry\":\"2020-05-22T11:10:43.146329802Z\"}/nteam_drive = 0ALRz3dIRQuatUk9PVA"

Using standard rclone

App not seeding.

Is this happening to you? My app won't seed any torrent, even after I change the minimum seed ration and time. Any ideas?

Error while using rclone config with sa

Hey, I am using rclone as service accounts. so my rclone.conf looks like

type = drive
scope = drive
root_folder_id = 0ALRz3dIRQuatUk9PVA
service_account_credentials = {"type": "service_account", "project_id": "delrt-267306", "private_key_id": "0006ff0708479576644b8cf663f6bf4d43bf4fee", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCu+NtUiv4UBOcQ\nsnypN108NQ0aK2yKFtbFFZOTu7yxdObSYBaQMIPXbG330H7wmgfcDm66O6gepRhP\nDQ/TMgpYfUcWLpSJbbMpkvOYEWDPMCjVY0hUZrQ180WeCEKM31wSpwiMdpwHwAIj\nLmh+P03TA67hHB1dSUVGPO4hNtp2KMIGHjTtmbFATeEYH95gMpKylsrB2llP9DSi\nj7za6+hiq55MYmTnyz6nxVquH8w7eimW/yKXOpC74hPLEEAFHcCNLfx4Rsm8QyJ2\n6eiN31uztsB+OPachLW8MYXQpxeSJoaZy4z5SL1IWV0APB2q+sd2V3CO8tzR8HKL\nOVeaq6RFAgMBAAECggEAKZliYf0Cr8VDn1lkIIIYcVhGk254CXOpH6XD1qeXktQx\njZpJOwJB0i2GDpk8GN1yGWw4AKBu1cxYFXFMTiCzS3sLc9diurLBWhTFQ+X7z36K\ncsM+PszFMx9xsYMSuXXgKNIcCvMnIQOSLoWZ08wep1jUktIRnCxvoyWY0v483cLp\nhsQQOwlgsYmZ9aBDtgcXL0/y8TqB6wEn2i1fOpIuDcbSLAsut9c8K11cAEc/x6Nw\nTZlU1iGzuxUaooAH+vuTyfjdarXE1ez+oPo2I1o1YB0SNpIq9jBYN3P3plvs7qFd\nUO/EndwYTXQb5tQa0ANiZkSrBF+qC05/VJLKl79fWQKBgQDj4axtXys5lZja7Wia\nJpJM+/WBdkufo4bJNKG9EySGteWgrKjH9A2y3j/Sa4rw/3LgvbrqvxgoxNCbxDj9\nP8oSXp5McfbJbUf8R7bOg9Kv3pr4ctsKpSdl8XkzHdh8V+rcgOy42TsQ36hrud0y\nWrCmoNk3ySHiSOZu7fCD2cIJSQKBgQDEj+D3LEj8oMZCW8njc6Gf0j0K7Ib2vEbt\nLxsa62m0LcrEwf8O9JZbMJDmYZbIJyNii2s9jvRb8znwyzOKTouTLajB63iWMCLy\nInPaxTbjc3D1GOUUGl8uoZjHpFGT1DXO2rXRhedU1hNMiU+Ekh4D36IkKzcYudXm\nZpMd5srfHQKBgBt5EI2bBJ4LoAL8zjiPX+HyGlYCSfm0AELvmnQuA6BN+6IUTsDU\ndnZS/wTCPFzznwjjNs6oPSRlHfU5gdleQGFYkOMMdkEwcJZEmxBoqhTT1IERb8Dn\nykkrBH6aIYhUHRd6X4+leM5++FIMdVNlxZhBGg70q6YZPdavzuhGb3MpAoGAdv4K\n2Fcs0BKcMuvSKimD/HaPkZ9ijNepsEhGBmPhF7xo9ffi6jDTHN0nuu/1EbHvz+ZK\nw3dZIpj5yHWa++1UvYJ0mQBtfa4iWabVr+iXs9Xc2eN6OlNEr7wP+zvUTsO210S7\nsN15D3iRMlIlm0HBfeLSC0dGEWfev531DbL7uVkCgYEAzCzRTYySI2gvu2rZqyxU\nbwC/wNWK7VRHacDWGirCaPoZwH44/FHuRUl9g/Zz2Trahw/CnlgU+yDJbd4DZW\nw9+JLoEKpEMF8I0uT1pYVeBacmrkyQ6Q1o6fETzswWaXIbnqEGYxmwYJ562CBwCu\nNf9+pditd+SVbnTff3aE22k=\n-----END PRIVATE KEY-----\n", "client_email": "mfc-7nua5q6gbdm2copyxisffpsc9x@delrt-267306.iam.gserviceaccount.com", "client_id": "108371935122510937844", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/mfc-7nua5q6gbdm2copyxisffpsx%40delrt-267306.iam.gserviceaccount.com"}
team_drive = 0ALRz3dIRQuatUk9PVA

But it's not working with heroku-aria2c
Can you fix it as soon as possible.

It's giving error:
Failed to load config file "/app/rclone.conf": could not parse line: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCu+NtUiv4UBOcQ

Please fix it !

Rclone copy fails after a period of time

Hi, thank you for creating this easy to use system. I am familiar with rclone but not much of a coder so I can't fix this issue I keep running into.
Everytime I deploy, everything works fine but after a couple hours, new downloads finish okay but don't move over to my gdrive/rclone config destination. The same config works fine on my local system and like I said it copies over everything great during the first hours of deployment but seems to stop accessing after a while, even after I restart the heroku-app (it stops before that) it doesn't fix the problem . I don't move or remove any files, all I do is add links and let the downloads finish. Please could anything be done to troubleshoot my issue?

Onedrive upload is too much slow

It's been a month now I saw very high difference in upload speed of rclone to onedrive I don't know if this is happening only with me or everyone please help previously I use to upload big files so easily but now it takes almost a day for same size
e.g. 50gb

Sir getting this error in rclone

2020-04-03T06:11:26.453859+00:00 app[web.1]:
2020-04-03T06:11:26.453859+00:00 app[web.1]:
2020-04-03T06:11:26.453859+00:00 app[web.1]:
2020-04-03T06:11:26.453859+00:00 app[web.1]:
2020-04-03T06:11:26.453862+00:00 app[web.1]: 04/03 06:11:26 [ [1;32mNOTICE [0m] GID#04804206b76cb900 - Download has already completed: downloads/[ShockWaveFlix]+Mannphodganj+Ki+Binny+Season+1+Episode+9.mkv
2020-04-03T06:11:26.454873+00:00 app[web.1]:
2020-04-03T06:11:26.454875+00:00 app[web.1]: 04/03 06:11:26 [ [1;32mNOTICE [0m] Download complete: downloads/[ShockWaveFlix]+Mannphodganj+Ki+Binny+Season+1+Episode+9.mkv
2020-04-03T06:11:26.464534+00:00 app[web.1]: 04/03 06:11:26 [ [1;32mINFO [0m] Delete .aria2 file ...
2020-04-03T06:11:26.466227+00:00 app[web.1]: 04/03 06:11:26 [ [1;32mINFO [0m] Delete .aria2 file finish
2020-04-03T06:11:26.542858+00:00 app[web.1]: 2020/04/03 06:11:26 Failed to create file system for "DRIVE:/Rclone": didn't find backend called "drive/nclient_id = 84878537452-sg9lfi3bodvhm6kkc49d7aqu5cq35ad.apps.googleusercontent.com/nclient_secret = eUIzj_9GfLjGg-eiTT0zuHTG/nscope = drive/ntoken = {"access_token":"ya29.a0Adw1xeW_3Hwwve_S7H3fV4f-BWxYgA8JMbYfkIuZ8lJeiq-0sQ-FyqwidbN0Cvn779XmCblXxy0kLlRakGsMOuN9jo4G2Fq4BmFvVUPRljq26mFW3zbdq6BDHcs1MEEESGBwvWlzlkExNdHuojOu9ZhLwbgdrhSI","token_type":"Bearer","refresh_token":"1//0gjUJjCjN-0n5CgYIARAAGBASNwF-L9IrpMfdwLxCbW-WSqjPiTHjCYeDk9yLrDCc_5F6JAg0idWTXdkJO3hnAVd1LydKLzk","expiry":"2020-03-09T02:54:13.450622802Z"}"
2020-04-03T06:11:26.723553+00:00 heroku[router]: at=info method=GET path="/ariang/favicon.png" host=ariangseed.herokuapp.com request_id=4d6444e0-75bb-4183-a929-1793b2f188df fwd="157.41.211.28" dyno=web.1 connect=0ms service=4ms status=304 bytes=237 protocol=https
2020-04-03T06:11:26.817795+00:00 heroku[router]: at=info method=GET path="/ariang/touchicon.png" host=ariangseed.herokuapp.com request_id=0c6072c9-94c5-4646-8bef-b4820bdf729a fwd="157.41.211.28" dyno=web.1 connect=0ms service=5ms status=304 bytes=238 protocol=https

And I Have setup rclone Destination to /Rclone

can't able to get in my drive

hey i am not to get able to see files in my drive after downloading and when i always launch the app it always need aria secret and i am not able to do the 3rd point given because i did't understand

Find the drive you want to use, and copy its type = ... to ... token = ... section.
please reply me as soon as possible

is it only me, heroku suddenly restarts app

It been a week I don't know why but heroku is restarting apps while running, when app doesn't get any web request it's bound to sleep but when the process is going on why this is happening
Issue is not related to app I know but still asking if anyone's facing this and if then does anyone have solution
(I tried https://kaffeine.herokuapp.com/
Which keeps app awake by sending requests aria ran only for about 4hrs after that suddenly restarted don't know why )

Why seeding is disabled?

In aria2c.conf seed-time is set to 0. Why?
It may be interesting to allow the seed as long as the dyno is active

Google Drive Upload Issue

Failed to copy with 3 errors: last error was: mkdir /Torrent: read-only file system

got the above error in the log when i was trying updated repository..3 days back it was fine..pls let me know the problem/fix..Thank You

Docker support

try to add docker support in the feature.if we deployed this code as docker in heroku,there is less chance to detect and delete the app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.