Anonymous ID: 353534 April 10, 2018, 2:17 p.m. No.987185   πŸ—„οΈ.is πŸ”—kun   >>7515 >>7600

>>985562

Newfag here. Long-time lurker, first post.

 

Wrote a beta PHP script for Twitter that works in conjunction with Youtube-DL and wget (all freeware) to archive an entire conversation piece. Vids, whether native Twitter uploads or click-thrus to Youtube, are saved in their entirety, in best res available. Pics, PDFs, same thing. Any Web URLs, their front-page HTML is saved off as an HTML file.

 

Let me know if interested. It is by no means a finished product but it works very well as long as the convo is PUBLIC. Oh yeah, Instagram too.

Anonymous ID: 353534 April 10, 2018, 3:10 p.m. No.987937   πŸ—„οΈ.is πŸ”—kun   >>7385 >>8088 >>8218

>>987515

While I'm fluent on normie platforms (fb, twitter, insta) when it comes to what I can/can't upload, I've never attached anything on 8ch. Can I upload a ZIPped archive that contains my PHP scripts? Or is a scanner gonna see scripting in my archive and go apeshit?

 

I would upload the source in plain-text (not copywriting anything here…) but…it's alot.

Anonymous ID: 353534 Archiving a Specific Twitter Thread April 12, 2018, 4:16 p.m. No.1017385   πŸ—„οΈ.is πŸ”—kun   >>7494

>>987937

Here goes…and we'll take it from here.

 

Sorry for the wait. Several components were gonna need to be prerequisites and, considering that not everyone's a tech anon, I put some extra work into rolling up the extra components into the existing folder.

———————————–

CTTPortable beta v0.1

 

-Tested ONLY in Windows 10 and Server 2012, 64-bit, but any 64-bit windows should suffice.

-Will require running from a Command Prompt

-Instagram features only include downloading videos and pics

————————————–

INSTALLATION:

————————————–

  1. Extract the compressed folder anywhere. (My example will be c:\temp\CTTPortable)

  2. Navigate to a specific Twitter conversation or thread in a web browser, and copy the URL. (My example will be the latest [InTheMatrix] thread: https:// twitter.com/intheMatrixxx/status/984559849873780736

  3. Open a command prompt window, navigating to C:\temp\CTTPortable and type

 

php cttURL.php https:// twitter.com/intheMatrixxx/status/984559849873780736

 

If all goes smoothly, this will:

 

  1. create a subfolder roughly named after the URL

  2. Place a WGETed copy of the original thread file "984559849873780736.html"

  3. Download locally all youtube videos referenced within the thread

  4. Download locally all pics contained within the thread

  5. Download locally any external website references (html,pdf,etc)

  6. Generate a SECOND copy of the Twitter Thread("984559849873780736new.html"), substituting remote links with the locally stored copies of each respective file.

 

I'll post a couple instructional vids later if anyone struggles with this.