Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporting some bugs & suggetions #15

Closed
rsoorajs opened this issue May 16, 2020 · 110 comments
Closed

Reporting some bugs & suggetions #15

rsoorajs opened this issue May 16, 2020 · 110 comments

Comments

@rsoorajs
Copy link

1.in Telegram bot,torrent downloading status do not automatically updating

2.Search option still not working.showing could not connect to site error.

3.need to add an option for telegram bot usage only for the owner (using telegram id in config vars)

4.Gdrive link recieving along with the heroku link.it will be very helpful.

5.TEAM DRIVE SUPPORT for gdrive.

@patheticGeek
Copy link
Owner

  1. it is on my list to do, it needs some power on server which i am not shure if free heroku can handle will do try it.
  2. Sometimes the site youre searching is down that is why it shows cannot connect to site
  3. I have telegram and a simple site auth in mind i'm currently doing internship and dont have much time will be doing these in a week
  4. It will require 2 requests that is why i was hesitant to do that but will add as it is demanded so much
  5. I'm a nOOb. this is on the end of list sorry to say

Will close this issue when all these are done. And this is now for discussion of more features

@patheticGeek patheticGeek pinned this issue May 16, 2020
@rsoorajs
Copy link
Author

Also i am mentioning one more bug

1.The app still sleeps after puttiing SITE as env var.so big torrent file downloads are keep failing

2.If heroku detected this repo as a torrent based one,they will probably delete all future deploys.To avoid this,run this code in docker on heroku

And thanks.you are doing a great job. zeit.co is another alternative of heroku for free app deploying.

@patheticGeek
Copy link
Owner

heroku restarts every 24h no matter what and the disk is not persistant that is why they fail will add an indiactor that shows when it is going to next restart so you can add early
zeit is a great platform but it does not allow for this type of implementation as we need to have a custom server and zeit only allows next or nuxt which both only run on requests so in order to go there one request will be hanging there till that torrent download is done which will most likely timeout in 30s or have a performance impact

@patheticGeek
Copy link
Owner

1, 2, 3 and 5 these four are done please update your fork and see

@thopDB
Copy link

thopDB commented May 26, 2020

1.Telegram bot through torrent not uploaded into Google drive solve
2. Download link not working because some error
3. Please develop download link through Gdindex
4. telegram and web users given download link only through Gdindex link

Please solve 4 errors

@rsoorajs
Copy link
Author

rsoorajs commented May 27, 2020

Tested

1.Torrent leeching are stuck at halfway.tested several times on telegram bot (when i checked on logs,it shows app is crashed.when i restarted the app the bot started working again..and still crashes while leeching.)

2.How to add team drive ?any special env var for that like TEAM_DRIVE= TRUE ? so team drive is not working for me

3.Add an env var option to use telegram bot for only their users..peoples are abusing my bot

4.After adding DISALLOW_WEB = TRUE i can still access the web interface

hope you will fix these too

@rsoorajs
Copy link
Author

1, 2, 3 and 5 these four are done please update your fork and see

check the above issues

@patheticGeek
Copy link
Owner

  1. that is problem in webtorrent library will need to report it there
  2. Open your teamdrive and in the url it shows teamdrive as a folder so copy the folder id and set the GDRIVE_PARENT_FOLDER to it
    Working on fixing 4 and 3

@patheticGeek
Copy link
Owner

@thopDB what is Gdindex link? i am assuming youre looking for something like goindex-drive please check that will add shareable links in a few days

@thopDB
Copy link

thopDB commented May 27, 2020

@patheticGeek Change Drive Index to Goindex,
don't share links through heroku bcoz bot will ban heroku

goindex source code link : https://github.com/kulokenci/goindex-drive

@patheticGeek
Copy link
Owner

which bot will ban heroku?

@thopDB
Copy link

thopDB commented May 27, 2020

this bot https://github.com/lzzy12/python-aria-mirror-bot

previous use heroku through download links After ban shifted to all links using Goindex

@thopDB
Copy link

thopDB commented May 27, 2020

@patheticGeek Telegram bot not working once check it

@patheticGeek
Copy link
Owner

working for me what problem are you facing?

@patheticGeek
Copy link
Owner

i still am not undertanding what youre talking about the ban of gdrive links please explain. i have seen the go index drive and my implementation is a simpler version of it

@rsoorajs
Copy link
Author

rsoorajs commented May 27, 2020

i still am not undertanding what youre talking about the ban of gdrive links please explain. i have seen the go index drive and my implementation is a simpler version of it

Heroku Officially never support torrenting apps.they will keep banning the apps..so we need to figure a way to bypass that.
The famous apps like Cloudtorrent,peerflix codes are banned on heroku.so you need to put it on docker or something heroku ban..i am not sure..but using docker may help you to prevent ban.not sure

@rsoorajs
Copy link
Author

rsoorajs commented May 27, 2020

  1. that is problem in webtorrent library will need to report it there
  2. Open your teamdrive and in the url it shows teamdrive as a folder so copy the folder id and set the GDRIVE_PARENT_FOLDER to it
    Working on fixing 4 and 3

1.try to use libtorrent or aria.they works fine

2.Tried and not working for teamdrives.you need to set an env var for the bot to recognise the storage which is using is teamdrive or not !

Using rclone config values as env var is much easier and 100% working.Also you can upload alot of hosts,if you try rclone

@rsoorajs
Copy link
Author

i still am not undertanding what youre talking about the ban of gdrive links please explain. i have seen the go index drive and my implementation is a simpler version of it

https://github.com/maple3142/GDIndex/

@thopDB
Copy link

thopDB commented May 27, 2020

@rsoorajs
Copy link
Author

rsoorajs commented May 27, 2020

http://torrent-aio-bot.herokuapp.com/drive/file/Sonic%20the%20Hedgehog%20(2020)%20BluRay%20-%20720p%20-%20[Hindi%20(DD5.1%20-%20384Kbps)%20+%20Eng]%20-%20TeamTMV.mkv?id=1GNg-ahNGiaO3ciB_LadPUxH9UHZnfrKE

Don't share above type of URLs bcoz free heroku users u can use Gdindex then safe ur heroku account

okay,so you are trying to state that,sharing the download links of torrent files will cause banning.yeah thats also a reason.so gdrive is just fine.The most important thing is write the code for just personal use,so the code will not abuse,by lots of people and it will stay in heroku for a longtime.thats my suggetion in this case.

@thopDB
Copy link

thopDB commented May 28, 2020

image
So many times repeat my bot
every download torrent leech After show above image like

@thopDB
Copy link

thopDB commented May 28, 2020

in Telegram bot download link not working

@thopDB
Copy link

thopDB commented May 28, 2020

https://github.com/TGExplore/TG-Files-to-Link/blob/master/GenerateStringSession.py

above url code add and check becoz every download after heroku application not working thats y u can add above code after check plz

@patheticGeek
Copy link
Owner

http://torrent-aio-bot.herokuapp.com/drive/file/Sonic%20the%20Hedgehog%20(2020)%20BluRay%20-%20720p%20-%20[Hindi%20(DD5.1%20-%20384Kbps)%20+%20Eng]%20-%20TeamTMV.mkv?id=1GNg-ahNGiaO3ciB_LadPUxH9UHZnfrKE

Don't share above type of URLs bcoz free heroku users u can use Gdindex then safe ur heroku account

You are stating to use gdriveindex or go index, the approact ive taken here is simillar to those. This is just a link which connects with gdrive api and all data comes from there heroku server just acts like a middle man. I'm not undertanding what youre saying about the ban and why not to use these links.

@patheticGeek
Copy link
Owner

patheticGeek commented May 28, 2020

in Telegram bot download link not working

Please also share the magnet link of file youre trying to download!

@patheticGeek
Copy link
Owner

i still am not undertanding what youre talking about the ban of gdrive links please explain. i have seen the go index drive and my implementation is a simpler version of it

https://github.com/maple3142/GDIndex/

I know this and i made it smiliar to it already knew about this i didnt use it because it is on cloudflare workers not heroku if you want you'll have to implement it yourself.
Seen this refrenced by people to me more than dead texts to my crush!!!!!

@thopDB
Copy link

thopDB commented May 28, 2020

give me our telegram bot url

@patheticGeek
Copy link
Owner

give me our telegram bot url

@TheGreatIndexBot

@rsoorajs
Copy link
Author

https://github.com/TGExplore/TG-Files-to-Link/blob/master/GenerateStringSession.py

above url code add and check becoz every download after heroku application not working thats y u can add above code after check plz

its working fine for me.but download crashes sometimes.i already mentioned that

@sam01ownloader
Copy link

image
bro another problem when uploading large file to gdrive after downloading completed in heroku..

Is it showing in gdrive tho?

no bro ,no sign of it creating a folder in the gdrive.

@patheticGeek
Copy link
Owner

image
bro another problem when uploading large file to gdrive after downloading completed in heroku..

Is it showing in gdrive tho?

no bro ,no sign of it creating a folder in the gdrive.

check the server logs or at https://<project name>.herokuapp.com/logs

@sam01ownloader
Copy link

GDRIVE_PARENT_FOLDER set to xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Gdrive client up
"it is saying this bro"

@sam01ownloader
Copy link

still upload failed

@thopDB
Copy link

thopDB commented Jun 11, 2020

bro plz add search bar in Gdrive index

@riganf
Copy link

riganf commented Jun 12, 2020

I have set an environment variable with key TELEGRAM TOKEN and token as value, why isn't the bot still working?

@redux911
Copy link

same , i have added telegram bot token but the bot doesnt respond

@thopDB
Copy link

thopDB commented Jun 13, 2020

@patheticGeek bro add Search bar in Gdrive index helpful to everyone

@patheticGeek
Copy link
Owner

Okay sorry for all this mess. I'll be depriciating this and making one with the aria2 utility it has a good js interface and low overhead. moreover i'll be adding rarbg in search today and centralizing search with sites list asked from server so all search updates are sent to all.

@patheticGeek
Copy link
Owner

I have set an environment variable with key TELEGRAM TOKEN and token as value, why isn't the bot still working?

its TELEGRAM_TOKEN not TELEGRAM TOKEN there is a underscore (_) not a space

@patheticGeek
Copy link
Owner

@patheticGeek bro add Search bar in Gdrive index helpful to everyone

The search doesnt work gdrive api has a bug so it wont be added, goindex has also stated this

@thopDB
Copy link

thopDB commented Jun 18, 2020

@patheticGeek bro in Search Tab After Search Movie Upcoming up Two buttons 1. Download, 2 Copy link

1.Whenever click Download button move to Downloads Tab. it's idea helpful to everyone think about it
2. you already told gdrive search wont be added but it's add to Search bar very Helpful

@patheticGeek
Copy link
Owner

@patheticGeek bro in Search Tab After Search Movie Upcoming up Two buttons 1. Download, 2 Copy link

1.Whenever click Download button move to Downloads Tab. it's idea helpful to everyone think about it
2. you already told gdrive search wont be added but it's add to Search bar very Helpful

Gotcha

@dstar22
Copy link

dstar22 commented Jun 22, 2020

Why doesn't the bot goes to sleep if there is no downloading happening in telegram ?? mine
132.15 free dyno hours (24.03%) used this month
417.85 free dyno hours remaining this month

used that app I don't think it will last for a month could u add sleep or like that command to make the bot go in sleep state or automatically if there is no downloading going on

@patheticGeek
Copy link
Owner

Why doesn't the bot goes to sleep if there is no downloading happening in telegram ?? mine
132.15 free dyno hours (24.03%) used this month
417.85 free dyno hours remaining this month

used that app I don't think it will last for a month could u add sleep or like that command to make the bot go in sleep state or automatically if there is no downloading going on

The library i used (webtorrents) this is not fesable with it i'm workin on making with aria2 so that more features can be added

@rsoorajs
Copy link
Author

Why doesn't the bot goes to sleep if there is no downloading happening in telegram ?? mine
132.15 free dyno hours (24.03%) used this month
417.85 free dyno hours remaining this month
used that app I don't think it will last for a month could u add sleep or like that command to make the bot go in sleep state or automatically if there is no downloading going on

The library i used (webtorrents) this is not fesable with it i'm workin on making with aria2 so that more features can be added

did you implemented the zip option brother ?

yeah aria2 is cool..libtorrent also..

@patheticGeek
Copy link
Owner

yeah aria2 is cool..libtorrent also..

The main problem im having is that heroku is blocking aria and libtorrent tried both 😢

@rsoorajs
Copy link
Author

yeah aria2 is cool..libtorrent also..

The main problem im having is that heroku is blocking aria and libtorrent tried both

try to deploy as docker on heroku..it may work

@patheticGeek
Copy link
Owner

yeah aria2 is cool..libtorrent also..

The main problem im having is that heroku is blocking aria and libtorrent tried both

try to deploy as docker on heroku..it may work

It looks like heroku sees the network connection not the code so all p2p requests are being blocked. this is not because it isnt real p2p connection instead webtorrent servers act as middleman.

@rsoorajs
Copy link
Author

so are you going to continue with webtorrent ?

@Radd-max
Copy link

Is it possible to transfer downloaded data to another backup app or something so that after 24 hr limit all data isnt lost ?

@patheticGeek
Copy link
Owner

Is it possible to transfer downloaded data to another backup app or something so that after 24 hr limit all data isnt lost ?

setup google drive or team drive

@patheticGeek
Copy link
Owner

so are you going to continue with webtorrent ?

yeah for now it seems that is the only option

@Radd-max
Copy link

Radd-max commented Jul 9, 2020

Is it possible to transfer downloaded data to another backup app or something so that after 24 hr limit all data isnt lost ?

setup google drive or team drive

No I mean for torrents that take more than 24 hrs to download have a backup bot to which all the partially downloaded files can be sent , and then continue downloads after the bot restarts

@rsoorajs
Copy link
Author

so are you going to continue with webtorrent ?

yeah for now it seems that is the only option

yeah.i reported a bug in your gdrive index code.kindly check it.

@patheticGeek
Copy link
Owner

Is it possible to transfer downloaded data to another backup app or something so that after 24 hr limit all data isnt lost ?

setup google drive or team drive

No I mean for torrents that take more than 24 hrs to download have a backup bot to which all the partially downloaded files can be sent , and then continue downloads after the bot restarts

That would be overly complex for this extreme edge case will look into something for shure

@Radd-max
Copy link

Is it possible to transfer downloaded data to another backup app or something so that after 24 hr limit all data isnt lost ?

setup google drive or team drive

No I mean for torrents that take more than 24 hrs to download have a backup bot to which all the partially downloaded files can be sent , and then continue downloads after the bot restarts

That would be overly complex for this extreme edge case will look into something for shure

I gave this a little more thought and i think this might be easier to implement :
sync the downloads between two or more bots , for eg. when i add a magnet to one bot all other bots get the same link .
so all the bots can seed the files to each other and even if one restarts the others can quickly seed it back to speed .Might have to change share ratio for this to work

@ghost
Copy link

ghost commented Jul 14, 2020

Please add direct download link support also 🙏😊

@patheticGeek
Copy link
Owner

Is it possible to transfer downloaded data to another backup app or something so that after 24 hr limit all data isnt lost ?

setup google drive or team drive

No I mean for torrents that take more than 24 hrs to download have a backup bot to which all the partially downloaded files can be sent , and then continue downloads after the bot restarts

That would be overly complex for this extreme edge case will look into something for shure

I gave this a little more thought and i think this might be easier to implement :
sync the downloads between two or more bots , for eg. when i add a magnet to one bot all other bots get the same link .
so all the bots can seed the files to each other and even if one restarts the others can quickly seed it back to speed .Might have to change share ratio for this to work

the library I'm using isn't for seeding it's for downloading torrents thru a proxy so it doesn't get detected by platforms like heroku

@rsoorajs rsoorajs closed this as completed Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

12 participants