Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
ocp-paradox ( ocp-paradox@alien.top ) B to Data Hoarder@selfhosted.forumEnglish · 3 years ago

How can I scrape every .sensorpanel attachment from this thread?

message-square
message-square
3
link
fedilink
2
message-square

How can I scrape every .sensorpanel attachment from this thread?

ocp-paradox ( ocp-paradox@alien.top ) B to Data Hoarder@selfhosted.forumEnglish · 3 years ago
message-square
3
link
fedilink

https://forums.aida64.com/topic/667-share-your-sensorpanel/

AIDA64 sensor panels are not archived anywhere as far as I know and trying to find them is horrible, it’s a nearly 500 page thread.

Gotta be a solution out there already right? I foumd this https://creativeandcritical.net/fups but doesn’t work with Invision forums.

alert-triangle
You must log in or register to comment.
  • binaryriot ( binaryriot@alien.top ) BB
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    A little bit shell magic around a little Python3 helper will do the job quickly: for i in $(seq 1 10); do grablinks.py --fix-links 'https://forums.aida64.com/topic/667-share-your-sensorpanel/page/'"${i}" --search 'file/attachment.php?' -f 'wget -c -O '\''%text%'\'' '\''%url%'\' | fgrep '.sensorpanel'; done | tee fetchscript.sh, then verify the generated shell script, and finally: sh fetchscript.sh.

    Happy waiting! :)

    You can grab my grablinks.py Python3 script from here: https://github.com/the-real-tokai/grablinks

    • ocp-paradox ( ocp-paradox@alien.top ) BOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 years ago

      Wow thanks. I’ll try this out tonight. Was just a last ditch effort here before I went and manually did 50 pages a day or something. Thanks again.

  • mrdebacle99 ( mrdebacle99@alien.top ) BB
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years ago

    Gotta be a solution out there already right?

    Have you tried wfdownloader, works well for scraping forums.

Data Hoarder@selfhosted.forum

datahoarder@selfhosted.forum

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !datahoarder@selfhosted.forum

We are digital librarians. Among us are represented the various reasons to keep data – legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they’re sure it’s done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time ™ ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 2 users / week
  • 11 users / month
  • 50 users / 6 months
  • 15 local subscribers
  • 460 subscribers
  • 606 Posts
  • 2.29K Comments
  • Modlog
  • mods:
  • communick ( communick@selfhosted.forum ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code