VeNoMouS / Sick-Beard

Sick-Beard Torrent Providers: Kat.ph, Torrentz.eu, DialyTvTorrents, ThePirateBay.se, TorrentLeech, PublicHD, SceneAccess, TorrentDay, IPTorrents, Bit-HDTV, FLO, BTDigg. Download methods: Transmission, uTorrent, Deludge and Synology.
http://code.google.com/p/sickbeard/
GNU General Public License v3.0
10 stars 1 forks source link

torrentday not working anymore #17

Closed jappish84 closed 6 years ago

jappish84 commented 6 years ago

same problem as reported here: https://github.com/junalmeida/Sick-Beard/issues/321

I thought I'd let TD hear my voice aswell and asked them to cooperate, user thebang referred to try and use https://torrentday.com/sign-in.php?

When email address is entered in the field, a one-time sign in url is sent back to the email address - maybe this is something you can work with?

VeNoMouS commented 6 years ago

@jappish84 interesting, I wasn't aware of this one... I wonder how long that token is valid for...

VeNoMouS commented 6 years ago

seems it's a one time usage... my concern is about if you restart SB or if their site is offline long enough your session becomes invalid.. means you have to re-do the code each time.

VeNoMouS commented 6 years ago

If you look at the original ticket, I have worked out how to bypass their recaptcha.. but it costs 0.002 cents a shot.

VeNoMouS commented 6 years ago

Re from original ticket...

so we currently have three points of attack

1) Bypass reCAPTCHA all together via 3rd party, complete automation and never worry about auth again. 2) Login to website, manually extract cookies from browser and put them into SB running session. 3) Automate an email password request, have user manually copy auth code from the email response back into SB current running session and then authenticate.

As i've pointed out tho, 2 & 3 are only valid as long as the TD session is valid for... what that period is... i don't know.

VeNoMouS commented 6 years ago

Sorry I have been out of the country all week so haven't had time to actually do anymore on this, I did #18 yesterday and pushed live today.

This will be my next priority job to do.

jappish84 commented 6 years ago

Yeah, no worries, you are doing a great job.

I'm okay with whatever solution you decide to go with, even of it means using a third party auth

VeNoMouS commented 6 years ago

Small update on this as been working on it today...

image

With the anti-captcha it stores it away for later use into the cookie storage :P

Just have the email token request to do.

image

small look...

image

VeNoMouS commented 6 years ago

Have pushed this live, feel free to have a play / test ... what ever, let me know .. it appears to work in all my tests...

jappish84 commented 6 years ago

Awesome work, will give it a go and let you know!

VeNoMouS commented 6 years ago

@jappish84 any comments etc?

jappish84 commented 6 years ago

Sorry, haven't had the chance, my router got hacked so I had to spend the day updating/reconfiguring a gazillion settings.

Will test tomorrow and report back

jappish84 commented 6 years ago

hmm, seems like I'm not getting the newest version. I'm still seeing the old authentication method only. What am I missing here?

2018-04-04 16:06:14 INFO CP Server Thread-8 :: Checking if source needs an update 2018-04-04 16:06:11 INFO CP Server Thread-8 :: No update needed 2018-04-04 16:06:09 INFO CP Server Thread-8 :: Checking if source needs an update 2018-04-04 16:03:56 INFO CP Server Thread-8 :: Scene Exceptions Update Completed. 2018-04-04 16:03:55 INFO CP Server Thread-8 :: No scene exceptions update needed 2018-04-04 16:03:55 INFO CP Server Thread-8 :: Check scene exceptions update 2018-04-04 16:03:55 INFO CP Server Thread-8 :: Forcing Scene Exceptions Update 2018-04-04 16:03:50 INFO CP Server Thread-8 :: No update needed 2018-04-04 16:03:49 INFO CP Server Thread-8 :: Checking if source needs an update 2018-04-04 16:03:45 INFO CP Server Thread-8 :: No update needed 2018-04-04 16:03:44 INFO CP Server Thread-8 :: Checking if source needs an update

VeNoMouS commented 6 years ago

are you using my repo or @junalmeida 's? he hasnt merged the PR i sent him, so only my code has the new features.

jappish84 commented 6 years ago

Yea, I've made sure I'm using your version, I even double checked it.

I had an update a few days back that I updated to. Can't find current version in WebUI but here is the contents of version.txt inside Sickbeard folder: efcf0561aa3049df51b45d6ca58606f8bf3ac6d8

VeNoMouS commented 6 years ago

@jappish84 you went here

image

then

image

Then select your auth method..

image

VeNoMouS commented 6 years ago

You can also confirm your git via git remote show origin

which should give you something like

* remote origin
  Fetch URL: https://github.com/VeNoMouS/Sick-Beard.git
  Push  URL: https://github.com/VeNoMouS/Sick-Beard.git
  HEAD branch: torrentProviders
  Remote branch:
    torrentProviders tracked
  Local branch configured for 'git pull':
    torrentProviders merges with remote torrentProviders
  Local ref configured for 'git push':
    torrentProviders pushes to torrentProviders (up to date)
jappish84 commented 6 years ago

Yeah, I was there. First I had to create a SSH tunnel because of the old message "Sorry in order to use this function, your URL has to be 127.0.0.1 or localhost"

After creating the tunnel and visiting 127.0.0.1, the only authentication method was the old reCaptcha

I didn't install through git, I simply downloaded and inflated the .zip, maybe that's why I'm not getting the new version? The update notification usually says I'm nnn commits behind

Should I just backup the .db and .ini and redownload again?

VeNoMouS commented 6 years ago

what happens if you force check?

image

I would simply copy the sickbard.db and config.ini and git clone off my repo and copy your configs over..

jappish84 commented 6 years ago

I simply get 'No update needed'

upd

I'll try git cloning and let you know

VeNoMouS commented 6 years ago

@jappish84 ..... can i close this ticket mate?

jappish84 commented 6 years ago

I finally got around to test it and it works great mate! Great job as always! A big thank you!

VeNoMouS commented 6 years ago

Cool, awesome that it's working for you mate, let me know if you encounter any other problems or want new features added :)

have a good weekend man.