Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

piqle/ps-4chan-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

powershell-4chan-downloader

powershell script to download images from 4chan.org threads, this version is a fork of https://github.com/kumamonishe/ps-4chan-dl with fixes and additional paramaters added in the future

requirements

  1. windows 10/11
  2. you may need to change execution policy before using this script. to do so run the powershell console as admin user and run command Set-ExecutionPolicy Unrestricted. change it back to Restricted or RemoteSigned after using the script.

usage

  1. find a cool thread in 4chan.org
  2. copy its url into clipboard
  3. run the script. it will check the clipboard for the link to your thread and dowload images automatically. if the script does not find a valid url to 4chan thread, it will prompt you for such url
  4. script saves images in separate directories for each thread. it will create directories in the current directory. the name of new directory will be truncated name of the thread (i.e. content of <title> tag). if the directory already exists, script will prompt you for another name.
  5. script downloads .jpg, .png and .gif images and also webm files, but please keep in mind that webms are big and donwloading of a long thread may take a while

parameters

-dest is optional. you can specify another directory for files to download in this parameter. path must be absolute. please do not use special symbols in -dest path, specificaly [ and ], powershell's Invoke-WebRequest does not porcess them correctly. there will be a workaround later

About

4chan image downloader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%