Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scraper for pillowfort #5

Open
TheSmilingPony opened this issue Jul 9, 2020 · 1 comment
Open

Add scraper for pillowfort #5

TheSmilingPony opened this issue Jul 9, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@TheSmilingPony
Copy link

A fair number of artists have set up Pillowfort accounts to post art (https://www.pillowfort.social/); a scraper for that site would be useful. Should include support for artist name, multiple images, and description.

There does not appear to be a public API.

@TheSmilingPony TheSmilingPony added the enhancement New feature or request label Jul 9, 2020
@Xe
Copy link
Member

Xe commented Jul 20, 2020

There is a public API if you're clever:

$ curl https://www.pillowfort.social/posts/1535226/json/

{
  "id": 1535226,
  "user_id": 87146,
  "title": "7/08/2020",
  "content": "",
  "post_type": "picture",
  "original_post_id": null,
  "created_at": "2020-07-09T10:12:39.108-04:00",
  "updated_at": "2020-07-10T08:34:46.193-04:00",
  "community_id": null,
  "rebloggable": true,
  "deleted": null,
  "deleted_at": null,
  "nsfw": false,
  "privacy": "public",
  "commentable": true,
  "picture_file_name": null,
  "picture_content_type": null,
  "picture_file_size": null,
  "picture_updated_at": null,
  "last_activity": "2020-07-09T21:50:25.492-04:00",
  "comments_count": 2,
  "likes_count": 7,
  "reblogs_count": 1,
  "deleted_by_mod": null,
  "deleted_for_flag_id": null,
  "cached_tag_list": "photography, b&w, bw, oc, black and white",
  "reblogged_from_post_id": null,
  "reblogged_from_user_id": null,
  "last_edited_at": null,
  "original_post_user_id": null,
  "tags": [
    "photography",
    "b&w",
    "bw",
    "oc",
    "black and white"
  ],
  "username": "Liams",
  "reblog_copy_info": [],
  "avatar_url": "https://img3.pillowfort.social/avatars/3651e85e_bullshit.png",
  "media": [
    {
      "id": 1065420,
      "post_id": 1535226,
      "url": "https://img3.pillowfort.social/posts/5c5cf8ddaa03_IMG_0521_edited.jpg",
      "created_at": "2020-07-09T10:12:40.919-04:00",
      "updated_at": "2020-07-09T10:12:40.919-04:00",
      "media_type": "picture",
      "row": 1,
      "col": 0,
      "embed_code": null,
      "small_image_url": "https://img3.pillowfort.social/posts/5c5cf8ddaa03_IMG_0521_edited_small.jpg",
      "b2_lg_url": null,
      "b2_sm_url": null
    }
  ],
  "time_elapsed": "1 day",
  "timestamp": "Jul 09, 2020 @ 10:12 AM",
  "last_activity_elapsed": "18 hours"
}

SeinopSys added a commit that referenced this issue Jul 21, 2020
@SeinopSys SeinopSys linked a pull request Jul 21, 2020 that will close this issue
1 task
joeyponi added a commit that referenced this issue Sep 14, 2020
Meow pushed a commit that referenced this issue Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants