RefreshCapcha

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CuF

Pages: 1 ... 3 4 5 [6] 7 8 9 ... 15
76
Scripts & Development / Re: Winsock security error
« on: April 06, 2013, 04:34:59 am »
I wonder if it's only because my version if IE is dated.  It's IE8 only because I don't use it.
Were you able to duplicate the error?

Btw, that developer tool in chrome is pretty cool.  I have no idea if Firefox has something similar or not.

Edit: Just to refresh my memory...
Failed is supposed to be the response for bad username or password.
Failed2 is for expired (or not accepting) cookies?

I don't know why, but I can never keep it straight.

77
Scripts & Development / Re: Winsock security error
« on: April 06, 2013, 04:01:51 am »
FF doesn't seem to have any complaints but IE errors that:
The security certificate presented by this website has expired or is not yet valid.
The security certificate presented by this website was issued for a different website's address.

Understandable since it does look like the certificate has expired and the site has changed names from animebyte.es to animebytes.tv without a new certificate.

An exception doesn't seem to help BC work through it.
In theory you don't need an account to get this far, BC just won't load the logon page.  Script is attached.

78
Scripts & Development / Winsock security error
« on: April 04, 2013, 05:49:37 pm »
I've been working on a script for AnimeBytes... mostly because their site has an awful layout.
Anyway, trying to make the login work, but I can't get a foot hold.
The log shows:
Code: [Select]
[3:42:58 AM]
POST https://yuki.animebytes.tv/user/login
Referer:
Cookie:



[3:42:59 AM]
cWinHTTP1: 1 - Error: -2147012858 - The host name in the certificate is invalid or does not match

[3:42:59 AM]
POST https://yuki.animebytes.tv/user/login
Referer:
Cookie:



[3:42:59 AM]
cWinHTTP1: 1 - Error: -2147012858 - The host name in the certificate is invalid or does not match

No idea here.  Suggestions?

Edit: More info, the logon uses a unique id for each logon attempt, so I'm using prelogin and code0 to grab the "crf_token".
In theory, since that is first, it is probably what is supposed to be occurring when this errors out.

The code so far...
Code: [Select]
[login]
prelogin=code(`https://yuki.animebytes.tv/user/login`,0)
login=https://yuki.animebytes.tv/user/login
form=username=%USER%&password=%PASS%&csrf_token=%CSRF%
failed=attempts remaining
failed2=Security token invalid

[code0]
@i=find(1,@data,`name="csrf_token"`,`value=`)
num=extract(@i,@data,`"`,`"`)
$form=replace($form,`%CSRF%`)
[/code0]

79
Anyone else have 'remove exact' and 'similar matches' not working?

hehe... i dont think its worked in any 2.x build.. i forgot about it and wasnt sure anyone actually used it :)
but ill put it back on my list to fix!

Apparently I'm the only one to use it... and I guess that's the first time since switching to version 2.  I guess it's not that important.

80
Scripts & Development / Re: Bit Che - Adult Scripts
« on: February 23, 2013, 02:48:07 pm »
Are they new?  You gotta start somewhere I suppose. :)

81
Anyone else have 'remove exact' and 'similar matches' not working?

82
Rutracker updated in previous post
Page link was missing a slash because the home url was http://rutracker.org/forum not http://rutracker.org/forum/.

83
For fun I added the seeds and leeches for Take.fm to the code2.  Works great.

Any chance for a tweak so if you view the torrent details, and either through scrape or code2 has a different seeds/leeches, that those new numbers will be updated to appear in the full results window?

Or isn't the results list update-able like that?
Heck, it might be nice for a context option on the full results page to include scrape.

84
Scripts & Development / Re: Bit Che - Adult Scripts
« on: February 05, 2013, 04:59:38 pm »
Script for PornoLab.net.

Beware, unlike sister site RuTracker, too many failed logins and it'll start requesting CAPTCHAs to login.  The script cannot handle that, so make sure you check your settings.

85
Okay, a roll up of all the scripts that seem to be working in my dev folder but aren't in the default script pack:

AsianDVDClub, HDBits.org (thanks Chip, the prelogin is great), MouseBits, MySpleen, RuTracker & SDBits.

86
ok.. posted build 45 that is a rollup of the fixes since build 37, but notably:

-fixed: Hash incorrectly calculated for some .torrents and magnet links (base32 conversion)
-fixed: scrape functionality for some trackers
-fixed from Build 44: prelogin now able to execute code0 script section and manipulate $form and $loginurl prior to 'login' -- thanks CuF
-new: $seeds and $leeches are pushed to the 'Torrent Details' windows and both can be changed in code2 sections -- thanks CuF
-new: script function improvement: array(@q,#1,#2) where #2 is added to #1.. both #1 and #2 can be variables as expected. -- thanks Bovski

posted here:  http://convivea.com/forums/index.php?topic=2131.msg19117#msg19117
Wait, I'm responsible for what with the code2?  :)
Is this the ability to use code2 for results other than the .torrent?  I thought that was unimportant because of the scrape button.

87
More updates:
MouseBits Uh, a fix for the fix.  Not sure what I did there, works now.
Fulldls Fix for bad date results.

Quoting myself because this Fulldls update should be added.  Every time there's an autoscript update I get garbage dates again.

@Bovski: I don't use the git myself.  I'm happy to see the scripts posted here.

88
Build 44 (January 31, 2013)

dev test only!  
43. minor script debugger display error fix
44. prelogin now able to execute script section and manipulate $form and $loginurl prior to 'login' -- thanks CuF


note to CuF & devs:   attached is a script for 'hdbits.org' that shows the new required changes for a script to use a prelogin code execute (must be prelogin=code(`URL`,0) ) and that code section must be [code0].  the result extraction code should be ignored since I cant test that part.. actually, I dont know if this will login.  CuF can you test? :) :) :)

let me know your thoughts..  ;D


Really slick.  Mostly works, but there is one bug.  The first time through Code0 is executed and BC properly logs on.
After logging on it then re-executes Code0 and stops (instead of moving on to Code1).

Subsequent searches take advantage of the cookie grabbed the first time through and works perfectly.

89
More updates:
MouseBits Uh, a fix for the fix.  Not sure what I did there, works now.
Fulldls Fix for bad date results.

90
Quick update for TorrentZone.  It stopped working for me at first because the failed1 was actually text that appeared if you were logged in as well.

After fixing it it still didn't work for a while... and then it did.  (After logging in properly BC wasn't giving an error, but it wasn't searching either).

Seems to be okay atm.  If anyone has problems chime in.

Pages: 1 ... 3 4 5 [6] 7 8 9 ... 15