JBugmenot

Java Bugmenot library to find account and password for various sites.

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

com.github.davidepastore
ArtifactId

ArtifactId

jbugmenot
Last Version

Last Version

0.2.1
Release Date

Release Date

Type

Type

jar
Description

Description

JBugmenot
Java Bugmenot library to find account and password for various sites.
Project URL

Project URL

https://github.com/DavidePastore/JBugmenot
Source Code Management

Source Code Management

https://github.com/DavidePastore/JBugmenot.git

Download jbugmenot

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.davidepastore/jbugmenot/ -->
<dependency>
    <groupId>com.github.davidepastore</groupId>
    <artifactId>jbugmenot</artifactId>
    <version>0.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.davidepastore/jbugmenot/
implementation 'com.github.davidepastore:jbugmenot:0.2.1'
// https://jarcasting.com/artifacts/com.github.davidepastore/jbugmenot/
implementation ("com.github.davidepastore:jbugmenot:0.2.1")
'com.github.davidepastore:jbugmenot:jar:0.2.1'
<dependency org="com.github.davidepastore" name="jbugmenot" rev="0.2.1">
  <artifact name="jbugmenot" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.davidepastore', module='jbugmenot', version='0.2.1')
)
libraryDependencies += "com.github.davidepastore" % "jbugmenot" % "0.2.1"
[com.github.davidepastore/jbugmenot "0.2.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jsoup : jsoup jar 1.10.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.1

Project Modules

There are no modules declared in this project.

JBugmenot

Build Status Known Vulnerabilities

Java Bugmenot library to find account and password for various sites.

Install

If you use Maven to manage the dependencies in your Java project (and you should!), you do not need to download; just place the following into your POM's section:

<dependency>
  <!-- Bugmenot library to find account and password for various sites -->
  <groupId>com.github.davidepastore</groupId>
  <artifactId>jbugmenot</artifactId>
  <version>0.2.1</version>
</dependency>

Usage

Find all the accounts of a site:

ArrayList<Account> accounts = JBugMeNot.getAllAccounts("nypost.com");

Find the first login of a site:

ArrayList<Account> accounts = JBugMeNot.getAllAccounts("imdb.com");
Account firstAccount = accounts.get(0);
String username = firstAccount.getUsername();
String password = firstAccount.getPassword();
long votes = firstAccount.getVotes();
Date addingDate = firstAccount.getAddingDate();

Find all the accounts that have a given succes rate:

JBugmenot.setMinimumSuccessRate(50);
ArrayList<Account> accounts = JBugmenot.getAllAccounts("nypost.com");

Vote an account:

ArrayList<Account> accounts = JBugmenot.getAllAccounts("corriere.it");
Account lastAccount = accounts.get(accounts.size() - 1);
JBugmenot.vote(lastAccount, false);
//OR
lastAccount.vote(false);

Issues

If you find problems, please open an issue here.

Versions

Version
0.2.1
0.2.0
0.1.0
0.0.1