vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Downloading Images from a specific thread (https://vborg.vbsupport.ru/showthread.php?t=323361)

RichieBoy67 08-30-2016 02:25 PM

Downloading Images from a specific thread
 
Hello,

I would like to download images and attachments from specif threads. I figured this would be simple but I am having a hard time. Anyone have a simple solution?

Thanks

Dave 08-30-2016 04:58 PM

Like a third party tool or a tool locally on your server that pulls all embedded images and attachments into a zip file?

RichieBoy67 08-30-2016 05:52 PM

Anything that would accomplish the goal.
I have tried a couple Firefox extensions but they do not work well with Vbulletin.

Dave 08-30-2016 06:16 PM

Made a jQuery script for fun which should download any images in threads.
Open up developer tools and execute the following in the console:

HTML Code:

$(".postcontent img").each(function(index, val){
  if($(val).attr('src').indexOf("smilie") === -1){
      var a = $("<a>").attr("href", $(val).attr('src')).attr("download", $(val).attr('src').split("/")[$(val).attr('src').split("/").length - 1]).appendTo("body");
      a[0].click();
      a.remove();
  }
});

Will probably download duplicates as well, but you get the idea. It'll only download embedded images.

RichieBoy67 08-30-2016 06:47 PM

Thanks so much Dave, tried something close to that but the only issue is that it makes me save each one which will take a very long time.

I wonder if i can change a setting inside Firefox to make it download auto.. hitting the do this automatically box is not doing the trick. I think I may have it..will let you know.
Thanks buddy!

Dave 08-30-2016 10:31 PM

It downloads automatically in Chrome, but I'm sure there's some kind of setting for this in FireFox as well.

RichieBoy67 08-31-2016 03:21 PM

Yeah, I got it working by going into the settings though it stops for duplicates. Still it does the job.

Thanks much Dave!

shimei 08-31-2016 04:23 PM

There are website copy tools: https://www.httrack.com/

You may be able to choose which to download: images, videos, attachments etc or the entire website. You may want to check them out. I think it will download all images into a directory etc...

https://vborg.vbsupport.ru/external/2016/09/1.gif

Enjoy,
William

RichieBoy67 09-01-2016 05:24 PM

Quote:

Originally Posted by shimei (Post 2575388)
There are website copy tools: https://www.httrack.com/

You may be able to choose which to download: images, videos, attachments etc or the entire website. You may want to check them out. I think it will download all images into a directory etc...

https://vborg.vbsupport.ru/external/2016/09/1.gif

Enjoy,
William

Thanks! I will try that!

ArcadeSyndicate 09-03-2016 03:27 PM

another great download tool is quadsucker. you can set image properties, so it doesn't dl thumbs and so on...

http://www.quadsucker.com/quadweb/

haven't used it for a couple of years, but i guess it works with win 8.x/10 too :)


All times are GMT. The time now is 03:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01193 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete