Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Taparip
RE: Taparip
#4
Then try running what's there in the readme:
sudo cpanm Mojo::UserAgent Carp DBI Date::Manip

After that, you need to open up taparip.pl and start changing configuration.  I was lame and lazy, so you have to edit it directly.  Maybe if I ever decide to care enough I can make it an INI or YAML or something.  Anyway, you need to edit this section:

https://github.com/labster/taparip/blob/...rip.pl#L20

$domain should link to the path of the forum you're trying to rip.  Change the URL to your forum.
$apipath is probably still the same -- it will break right away if run and you'll know it if it's wrong, and then I'd actually have to look.
$dbfile is where you save the output.  Pick some directory you can write to.  Or just use sudo, lol (this software makes no warranty for any purpose lol)
The next one you should set is $endtopic.  Get the thread number of the most recent thread from the URLs around the forum.
$repeat_thread is well... okay, this is how the software works:  Within the list of thread numbers, it jumps around at random to simulate organic traffic.  Therefore someone looking at server logs won't think it's obvious they're getting crawled.  However, if you restart the script, the order will be re-randomized, so it might try to download threads you've already downloaded.  If it's set to 0, you get everything once.  If 1, you can get threads again -- most useful when you need to pick up new posts.
$delay - 2 seconds seems like we're not trying to murder their servers, right?
$verbose - you like words, don't you?
$username and $password -- If there are private forums you're trying to capture, you'll need this.  I believe someone said it worked.  However, I migrated this forum without needing to login, since it's all public.
$authorz - um, some guy added this to my script later, leave it alone I guess.

perl -c taparip.pl will check the code compilation without running anything, so you can check to see we have all the modules and you didn't mess up syntax before actually running it.
"Kitto daijoubu da yo." - Sakura Kinomoto
Reply


Messages In This Thread
Taparip - by SignalAffairs - 07-23-2020, 05:55 PM
RE: Taparip - by Labster - 07-23-2020, 11:55 PM
RE: Taparip - by SignalAffairs - 07-24-2020, 11:36 AM
RE: Taparip - by Labster - 07-24-2020, 05:15 PM
RE: Taparip - by SignalAffairs - 07-25-2020, 11:20 AM
RE: Taparip - by Black Aeronaut - 07-25-2020, 03:31 AM
RE: Taparip - by Labster - 07-25-2020, 05:22 AM
RE: Taparip - by Labster - 07-25-2020, 09:42 PM
RE: Taparip - by SignalAffairs - 07-26-2020, 10:17 AM
RE: Taparip - by Labster - 07-29-2020, 04:04 AM
RE: Taparip - by SignalAffairs - 07-29-2020, 04:20 PM
RE: Taparip - by SignalAffairs - 08-01-2020, 06:11 PM
RE: Taparip - by Bob Schroeck - 08-01-2020, 10:32 PM
RE: Taparip - by Labster - 08-03-2020, 06:10 PM
RE: Taparip - by SignalAffairs - 08-04-2020, 05:35 PM
RE: Taparip - by Labster - 08-04-2020, 05:47 PM
RE: Taparip - by SignalAffairs - 08-04-2020, 10:00 PM
RE: Taparip - by Labster - 08-12-2020, 04:05 AM
RE: Taparip - by SignalAffairs - 08-13-2020, 12:01 AM
RE: Taparip - by Labster - 08-13-2020, 12:20 AM
RE: Taparip - by SignalAffairs - 08-13-2020, 05:32 PM
RE: Taparip - by Labster - 08-13-2020, 07:13 PM
RE: Taparip - by SignalAffairs - 08-14-2020, 03:33 PM
RE: Taparip - by SignalAffairs - 09-14-2020, 12:31 AM
RE: Taparip - by Labster - 09-17-2020, 02:33 AM
RE: Taparip - by SignalAffairs - 09-18-2020, 09:03 AM
RE: Taparip - by Labster - 09-18-2020, 06:02 PM
RE: Taparip - by Nick_nl - 02-04-2021, 02:28 PM
RE: Taparip - by Black Aeronaut - 02-05-2021, 05:27 AM
RE: Taparip - by Bob Schroeck - 02-05-2021, 09:01 AM
RE: Taparip - by robkelk - 02-05-2021, 10:45 AM
RE: Taparip - by Nick_nl - 02-05-2021, 12:49 PM
RE: Taparip - by Labster - 02-06-2021, 05:36 AM
RE: Taparip - by Bob Schroeck - 02-06-2021, 04:10 PM
RE: Taparip - by Nick_nl - 02-09-2021, 01:27 PM
RE: Taparip - by Bob Schroeck - 02-09-2021, 01:49 PM
RE: Taparip - by Nick_nl - 02-11-2021, 02:21 PM
RE: Taparip - by Bob Schroeck - 02-11-2021, 04:53 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)