• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • One important aspect of D&D “rules” is that theoretically there’s no specific limit on what your character can attempt. If you say your character attempts something the DM thinks clearly impossible or trivially easy, they may not even have you roll for it. “You plant your hands firmly at the base of the mountan and push and grunt, but you fail to move it noticeably.” “You squash the cockroach easily under your boot.”




  • If you login in a browser, it’ll most likely give you a “session cookie” that you should be able to see in the developer tools. (If you’re using Firefox’s developer tools, it’d be under the “storage” section.) The name of the cookie will generally have the word “session” in the name. After logging in, that cookie identifies you to the server, letting the server know that “this particular request is from CucumberSalad” (or whatever your user is named on that service.) Wget probably hasn’t been working because the requests from wget don’t include that cookie like the requests from your browser do.

    (Just looking at my developer tools while using Lemmy, it seems like the Lemmy web ui doesn’t use session cookies but rather a JSON web token in a cookie named “jwt”, but I think that cookie would suffice if I was trying to scrape the Lemmy web ui.)

    Once you have the proper cookie name and value, you can have wget send the cookie to the server with each request by adding the flag --header 'Cookie: <cookie name>=<cookie value>' (but replace the values in angle brackets. Example: --header 'Cookie: JSESSIONID=ksdjflasjdfaskdjfaosidhwe'.)

    Also, if you can provide more info as to what you’re trying to scrape, folks can probably help more. Hopefully what I’ve given you is enough to get you going, but it’s possible there might be more hurtles to jump to get it working.









  • I saw another post today about ArchiveTeam Warrior and on a lark started up a Docker container.

    But it occurred to me that maybe today isn’t the best day to be archiving things. Right?

    With so many subreddits shut down, isn’t ArchiveTeam going to get a whole lot of “this sub is private” messages rather than actual content?

    Hopefully the mothership is smart enough to gracefully account for that. Maybe centrally, they keep track of those pages and “reassign” those pages back out to be fetched again after a good number of hours (days?) have passed.


  • My Android smartphone is weird. On purpose. I don’t run proprietary apps on my phone. So no Play store, for instance.

    I opened a bank account lately and when I walked in and told them I wanted to open a bank account they were like “ok, first you install the app.” And rather than saying “fuck no I don’t want you assholes snooping on my phone” I said “my phone is a little weird and it’s not going to be straightforward to get your app installed on my phone.”

    And they kindof pressured me to prove it to them. Show them all my apps to prove I didn’t have the play store. Scan their QR code and download it manually (which I think only didn’t work because I (purposefully) opened the download with the wrong app.)

    Next time I’m in a situation like that, Imma be like “I’ll make this real simple for you. I’m not installing your app. Now do you still want my business or shall I take my business elsewhere?”