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.


Topics - CuF

Pages: [1] 2
1
Scripts & Development / Is Code2 broken?
« on: November 07, 2017, 08:27:32 am »
I've tried to grab additional data from the torrent page for two different sites now using code2.

I'm calling the additional code like this:
Code: [Select]
$size=code($page,2)
Then doing something like this:
Code: [Select]
[code2]
x=find(@i,@data,`"header">Size</td>`,`"top"`)
$size=extract(x,@data,`>`,`<`)
[/code2]

Unfortunately I'm either getting 0 as a result OR something like @CODE2=....
Debugging never shows code2 executed.


2
Scripts & Development / Problem with Bibliotik login while updating script.
« on: November 05, 2017, 03:28:18 pm »
Bibliotik.me login page looks like this:
Code: [Select]
<html>
<head>
    <title>Bibliotik / Login</title>
</head>
<body>

<center>You have 7 attempts left.</center>

<form name="loginform" id="loginform" method="post" accept-charset="UTF-8">
<input type="hidden" name="returnto" value="/" />
    <table cellpadding="2" cellspacing="1" border="0" align="center">
        <tr valign="top">
            <td align="right"><label for="username">Username: </label></td>
            <td align="left"><input type="text" name="username" id="username" class="inputtext" /></td>
        </tr>
        <tr valign="top">
            <td align="right"><label for="password">Password: </label></td>
            <td align="left"><input type="password" name="password" id="password" maxlength=255 class="inputtext" /></td>

        </tr>
        <tr valign="top">
            <td colspan="2" align="right">
                <input type="checkbox" name="keeplogged" id="keeplogged" value="1" />
                <label for="keeplogged">Keep me logged in</label>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right"><input type="submit" name="login" value="Log In!" class="submit" /></td>
        </tr>
    </table>
</form>

<center><a href="/recover">Recover account</a></center>

</body>
</html>

I've been trying:
Code: [Select]
[login]
login=https://bibliotik.me/?returnto=%2F
form=username=%USER%&password=%PASS%&keeplogged=1&login=Log+In%21

It worked at first but now I just get a !401 error. (Unauthorized)

I'm open to suggestions.

3
Scripts & Development / HTML Comments Stripped?
« on: October 10, 2016, 08:34:57 am »
I'm still working on PornLeech.
They hide the download link inside a comment <!-- -->

Bit Che seems to automatically strip comments.  I even tried doing a search/replace on the tags with no luck.
Is there a way to preserve the comment lines?

4
Bugs & Feature Requests / Freezing
« on: June 08, 2016, 03:22:57 am »
In the last couple days every time I try to do a search it starts and after a few sites have been checked Bit Che stops responding.
I'll try enabling/disabling scripts later, but that shouldn't have the ability to lock up the program.

Anyone else having this issue?

5
Bugs & Feature Requests / New home same as the old?
« on: January 19, 2015, 09:41:27 am »
I've tried to update some old scripts changing the [home].

Except the script in the debugger shows @home: (new home URL) as well as @home2: (old home url).

Then if the script sets a string with @home in it, it uses @home for some things and @home2 for others.
In other words the script is completely broken.

Does Bit Che save this data somewhere?  I assumed Settings.ini, but I can't find it there, so I can't understand why it's remember the old home.

6
Scripts & Development / Dead TPB
« on: December 20, 2014, 06:40:23 am »
I was wondering if anyone has plans about this.
I know there is no true Pirate Bay ATM and a few mirrors of varying quality.

The most prominent is https://oldpiratebay.org/ hosted by Isohunt.
Nothing new gets added, but it keeps the lights on for the old torrents.

Does anyone have any plans?  I don't want to duplicate any work.

7
Scripts & Development / Multipaging in BC3.
« on: September 30, 2014, 12:00:03 pm »
I've tested two different site scripts with multipaging and I cannot make it work.
I used https://github.com/convivea/bit-che-3-scripts/blob/master/scripts/default/KickassTorrents.com.ini#L39 as a guide but I'm not sure what I'm missing.

Is the feature enabled and working in anything at the moment or is the sample script just to give us an idea what to expect in the future.

8
Scripts & Development / Bit Che v3 Adult Scripts
« on: August 26, 2014, 03:42:46 pm »
I'm hoping to encourage a single thread for these to make things less scattered.

Attached is WeBop and PornoLab quickly fixed to work with v3.  Any others need an update?

Edit 9/30/2014: PussyTorrents added.
Edit 2: Lots more added... just watch this post, okay?

9
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]

10
Some results tend to have junk between results that gives results that have to be filtered later, some websites have no ability to filter dead torrents from results, etc.

Should script writers shrug this off or is it preferred that if... and loop be used to test and remove known issues with a site.

Zero seeder results CAN be filtered by the script, but I suppose some people may want those results so they can find them in the 'removed' window.

Just thinking out loud mostly.  Opinions?

11
Scripts & Development / HDBits logon problem.
« on: January 12, 2013, 03:49:41 am »
Trying a standard login fails.  I believe it's because there is a unique code generated each time you go to the login page that must be passed with the name/pass.
Code: [Select]
<input type="hidden" name="lol" value="9ef07eb08afd6ce379e755716c9919bc" />The value changes every time you refresh the page.

I tried special login by adding 'special=1' in the [script] section, but when BC tries a search it only loads the login page, not the search page.

Is there any reason the special login might fail?

12
Scripts & Development / Version 2 Date Standardization
« on: January 11, 2013, 03:20:50 am »
It'll mean more work for script writers, but I was wondering if there will be an effort to standardize the date format returned.

I've started using it, and seen all sorts of formats used on the different sites.  Dashes, slashes, different order, age in days only, etc.
Should we be making the effort to format dates YEAR-MONTH-DAY?

Pirate Bay is all over the place.  They use Today Time, Y-day Time, Month-Day Time or Month-Day Year, depending on the age.  Sorting by date actually puts them out of order.

It'd be a bear to have one format for all sites, but would make sorting better for users.

13
Scripts & Development / Trying to write v2 script for BakaBT
« on: January 10, 2013, 08:27:09 am »
I have no idea what is up with this one.
It looks simple, but neither a standard login nor special login works when you try to search.
It says 'Advanced browsing is not available for non-members.'

Is this a BakaBT crazy thing or an incompatibility with BC v2?

14
Scripts & Development / Script Request: TorrentZone.net
« on: May 13, 2011, 04:48:18 pm »
Just found this site today and it's pretty nice.  (Registration is currently open.)
The script for this has got me thoroughly stumped though.

Standard login should work, but it doesn't.  Special login seems to not work either.
It took me a long time to figure out the search string, but that's of no use because I just can't get Bit Che to play nice with it.

Is it possible BC has an issue when the web site uses https instead of http?

I'm open to suggestions since I'm perfectly capable of writing the rest of the script.

15
Bugs & Feature Requests / Feature request: Split video category.
« on: January 04, 2010, 08:09:45 am »
Writing the scripts I've found that the most common categories are Movies, TV, Anime, Music, Games, Software and Other.

The 'Video' category in Bit Che is too broad to work with.
Although it would be nice to search that way, the torrent sites just don't support it.

I propose the addition of Anime, TV and Movies.

Pages: [1] 2