Add Japanese Manga Autoposting #19

Open
opened 2024-01-08 13:24:21 +00:00 by Neshura · 4 comments
Owner

Could be done using TO Books API: https://api.to-corona-ex.com

Could be done using TO Books API: https://api.to-corona-ex.com
Author
Owner

ToDos:

  • Decide between API or Scraping
  • Implement either in addition to jnc api (modularize app as separate issue?) after #20
ToDos: - [ ] Decide between API or Scraping - [ ] Implement either in addition to jnc api (~~modularize app as separate issue?~~) after #20
Neshura reopened this issue 2024-01-08 13:25:25 +00:00
Neshura added the
improvement
label 2024-01-08 13:25:45 +00:00
Neshura self-assigned this 2024-01-08 13:25:47 +00:00
Author
Owner

Example Series ID for API testing: 20000000037068 - AoB Manga Part 4

Example Series ID for API testing: 20000000037068 - AoB Manga Part 4
Author
Owner

Likely requires an api key in the header (see python rss feed github repo (link to be added))

Likely requires an api key in the header (see python rss feed github repo (link to be added))
Neshura added a new dependency 2024-01-08 14:03:34 +00:00
Author
Owner

APi Response when fetched with the "stolen" API Key:

{
  "id": "20000000037068",
  "title": "本好きの下剋上【第二部】",
  "title_yomigana": "ホンズキノゲコクジョウダイニブ",
  "description": "◆◇◆TVアニメ第3期好評配信中!◆◇◆\n 詳細はこちら → http://booklove-anime.jp/\n<br>\n■「このライトノベルがすごい!2023」(宝島社刊)\n単行本・ノベルズ部門第1位!殿堂入り!\nシリーズ累計800万部突破!(電子書籍を含む)\n『本好きの下剋上』コミカライズ、同時連載中!\n第一部はこちら → https://to-corona-ex.com/comics/20000000018228 ※完結\n第三部はこちら → https://to-corona-ex.com/comics/20000000034334 ※連載中\n第四部はこちら → https://to-corona-ex.com/comics/20000000051070 ※連載中",
  "description_tag": "<p>◆◇◆TVアニメ第3期好評配信中!◆◇◆\n<br /> 詳細はこちら → <a href=\"http://booklove-anime.jp/\">http://booklove-anime.jp/</a>\n<br /><br>\n<br />■「このライトノベルがすごい!2023」(宝島社刊)\n<br />単行本・ノベルズ部門第1位!殿堂入り!\n<br />シリーズ累計800万部突破!(電子書籍を含む)\n<br />『本好きの下剋上』コミカライズ、同時連載中!\n<br />第一部はこちら → <a href=\"https://to-corona-ex.com/comics/20000000018228\">https://to-corona-ex.com/comics/20000000018228</a> ※完結\n<br />第三部はこちら → <a href=\"https://to-corona-ex.com/comics/20000000034334\">https://to-corona-ex.com/comics/20000000034334</a> ※連載中\n<br />第四部はこちら → <a href=\"https://to-corona-ex.com/comics/20000000051070\">https://to-corona-ex.com/comics/20000000051070</a> ※連載中</p>",
  "copyright": "© Suzuka / Miya Kazuki",
  "cover_image_url": "https://cdn.to-corona-ex.com/comics/cover_images/2023/1213/1555/43a6718cd11eed0e4c76fb9f385d85d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6BKBMAXOGJN7GXO5%2F20240108%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240108T142824Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDoaDmFwLW5vcnRoZWFzdC0xIkgwRgIhAJ3PVLV0N3DM2%2BiyIkMl52qja5qT9GWmnOQpWED8WwEtAiEAkwszfDMz9rbhPCtnUzRYNyOPXQALVm%2FbN4LGcblM3bEq%2FQMI0%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw5NjQ4OTQxMzE2NzYiDAVUHzHHNG9ww8DR5SrRA8dPWFyhgRwMe9fngGEzwxJ3l82jtgM%2FvKDMHH6sMpZq4tvaXCShLgbVIpDOe0bftVEzPFmdbnWm6Za8n%2BEXQQ0Ly9FB2EB4LQaBOJWQHCCbKo02qf1iubTO95Z6DctO5dKREvsmnxNqeZgQMYGj9VBUCbBCSC5gGb3XbQUU8OL6IAy%2BQKlQ4GGSemyq78ULhA1PRqRKPO4WPhqHoVljy9rmaQmr86udGJLc69zdWeo5fm2%2BdhhZilr1MTLbviePAL7hhZubP77wTGZpik3BEjdA0PyNjTHmi67Sci%2FnvkGfEX30GPmXKU6DAZAJhYsVVZLCupKLEk0oT4DsbiADPMiAOpC32%2FXiGpGfr1%2BUS0hn5yH3JA1MB0j9ptAFFk4Yop9h0zZ0VjD2tdEppJ8R3qltI%2B8G7LIbSAaqgVia458MMYZ4klvHfS0DQ%2BT8nm9bBmt7on8UcBQZlah2nXUM8YSjzXzX%2FhEkSzHS6IKQalT17%2FiOIYr2qJ2XwSBIYfisnJyBUa0a68bA7YYSGt1FozO%2FzWHy74Q1bYOXAqz2MI7gjsasHwzd8X1ZpybB0Oosf5ndfuQyOAuUU23jU3UZND952hqmDC2q4u82X0rAlf2DfzDgh%2B%2BsBjqkASRzJnKwcuT5z5AIwldjR2eh0m0iewD1cJpp%2FoBq2%2FZ7YOvSc%2FIlrUu%2B7kTsgjrpL1H%2BtxcA5Atvpoepk%2BjSa5Kd4EhvQjvSYjgfAi1P5kgVGJ9%2BGsvTtU9%2FZn6auD4d4v1LkYdaz6juVqQ6FBd6BZPO%2FeFr8qgDzy%2FHwY9fK3asP6e%2BYcC2LQZwtKVyZdFuXo47lMW7ognyAqc65%2B4kZQmRMKzD&X-Amz-SignedHeaders=host&X-Amz-Signature=96a5ba148040603c4b0493ca56fff13fbddfbb21d579cd4f56e55a5b30126733",
  "next_episode_update_at": null,
  "latest_episode": {
    "id": "127006739678442",
    "comic_id": "20000000037068",
    "title": "第50話 青色神官の贈り物",
    "thumbnail_image_url": "https://cdn.to-corona-ex.com/episodes/thumbnails/2023/1122/1455/937a5b2ddf5220f9632802ed7762450e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6BKBMAXOGJN7GXO5%2F20240108%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240108T142824Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDoaDmFwLW5vcnRoZWFzdC0xIkgwRgIhAJ3PVLV0N3DM2%2BiyIkMl52qja5qT9GWmnOQpWED8WwEtAiEAkwszfDMz9rbhPCtnUzRYNyOPXQALVm%2FbN4LGcblM3bEq%2FQMI0%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw5NjQ4OTQxMzE2NzYiDAVUHzHHNG9ww8DR5SrRA8dPWFyhgRwMe9fngGEzwxJ3l82jtgM%2FvKDMHH6sMpZq4tvaXCShLgbVIpDOe0bftVEzPFmdbnWm6Za8n%2BEXQQ0Ly9FB2EB4LQaBOJWQHCCbKo02qf1iubTO95Z6DctO5dKREvsmnxNqeZgQMYGj9VBUCbBCSC5gGb3XbQUU8OL6IAy%2BQKlQ4GGSemyq78ULhA1PRqRKPO4WPhqHoVljy9rmaQmr86udGJLc69zdWeo5fm2%2BdhhZilr1MTLbviePAL7hhZubP77wTGZpik3BEjdA0PyNjTHmi67Sci%2FnvkGfEX30GPmXKU6DAZAJhYsVVZLCupKLEk0oT4DsbiADPMiAOpC32%2FXiGpGfr1%2BUS0hn5yH3JA1MB0j9ptAFFk4Yop9h0zZ0VjD2tdEppJ8R3qltI%2B8G7LIbSAaqgVia458MMYZ4klvHfS0DQ%2BT8nm9bBmt7on8UcBQZlah2nXUM8YSjzXzX%2FhEkSzHS6IKQalT17%2FiOIYr2qJ2XwSBIYfisnJyBUa0a68bA7YYSGt1FozO%2FzWHy74Q1bYOXAqz2MI7gjsasHwzd8X1ZpybB0Oosf5ndfuQyOAuUU23jU3UZND952hqmDC2q4u82X0rAlf2DfzDgh%2B%2BsBjqkASRzJnKwcuT5z5AIwldjR2eh0m0iewD1cJpp%2FoBq2%2FZ7YOvSc%2FIlrUu%2B7kTsgjrpL1H%2BtxcA5Atvpoepk%2BjSa5Kd4EhvQjvSYjgfAi1P5kgVGJ9%2BGsvTtU9%2FZn6auD4d4v1LkYdaz6juVqQ6FBd6BZPO%2FeFr8qgDzy%2FHwY9fK3asP6e%2BYcC2LQZwtKVyZdFuXo47lMW7ognyAqc65%2B4kZQmRMKzD&X-Amz-SignedHeaders=host&X-Amz-Signature=bac324e5834f713fd107c61f8b0c91520a1d8d23007d0d9cad0390a886fe2d49",
    "published_at": "2023-12-04T11:00:00.000+09:00",
    "episode_status": "free_viewing",
    "episode_order": 63
  },
  "authors": [
    {
      "creator_id": "41126740721665",
      "name": "鈴華",
      "role": "漫画"
    },
    {
      "creator_id": "41127362052173",
      "name": "香月美夜",
      "role": "原作"
    },
    {
      "creator_id": "41127808745615",
      "name": "椎名 優",
      "role": "イラスト原案"
    }
  ],
  "labels": [],
  "genres": [
    {
      "id": "41114554925057",
      "name": "少女マンガ",
      "comics_count": 42
    }
  ],
  "curations": [],
  "good_count": 740795
}
APi Response when fetched with the "stolen" API Key: ```json { "id": "20000000037068", "title": "本好きの下剋上【第二部】", "title_yomigana": "ホンズキノゲコクジョウダイニブ", "description": "◆◇◆TVアニメ第3期好評配信中!◆◇◆\n 詳細はこちら → http://booklove-anime.jp/\n<br>\n■「このライトノベルがすごい!2023」(宝島社刊)\n単行本・ノベルズ部門第1位!殿堂入り!\nシリーズ累計800万部突破!(電子書籍を含む)\n『本好きの下剋上』コミカライズ、同時連載中!\n第一部はこちら → https://to-corona-ex.com/comics/20000000018228 ※完結\n第三部はこちら → https://to-corona-ex.com/comics/20000000034334 ※連載中\n第四部はこちら → https://to-corona-ex.com/comics/20000000051070 ※連載中", "description_tag": "<p>◆◇◆TVアニメ第3期好評配信中!◆◇◆\n<br /> 詳細はこちら → <a href=\"http://booklove-anime.jp/\">http://booklove-anime.jp/</a>\n<br /><br>\n<br />■「このライトノベルがすごい!2023」(宝島社刊)\n<br />単行本・ノベルズ部門第1位!殿堂入り!\n<br />シリーズ累計800万部突破!(電子書籍を含む)\n<br />『本好きの下剋上』コミカライズ、同時連載中!\n<br />第一部はこちら → <a href=\"https://to-corona-ex.com/comics/20000000018228\">https://to-corona-ex.com/comics/20000000018228</a> ※完結\n<br />第三部はこちら → <a href=\"https://to-corona-ex.com/comics/20000000034334\">https://to-corona-ex.com/comics/20000000034334</a> ※連載中\n<br />第四部はこちら → <a href=\"https://to-corona-ex.com/comics/20000000051070\">https://to-corona-ex.com/comics/20000000051070</a> ※連載中</p>", "copyright": "© Suzuka / Miya Kazuki", "cover_image_url": "https://cdn.to-corona-ex.com/comics/cover_images/2023/1213/1555/43a6718cd11eed0e4c76fb9f385d85d8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6BKBMAXOGJN7GXO5%2F20240108%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240108T142824Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDoaDmFwLW5vcnRoZWFzdC0xIkgwRgIhAJ3PVLV0N3DM2%2BiyIkMl52qja5qT9GWmnOQpWED8WwEtAiEAkwszfDMz9rbhPCtnUzRYNyOPXQALVm%2FbN4LGcblM3bEq%2FQMI0%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw5NjQ4OTQxMzE2NzYiDAVUHzHHNG9ww8DR5SrRA8dPWFyhgRwMe9fngGEzwxJ3l82jtgM%2FvKDMHH6sMpZq4tvaXCShLgbVIpDOe0bftVEzPFmdbnWm6Za8n%2BEXQQ0Ly9FB2EB4LQaBOJWQHCCbKo02qf1iubTO95Z6DctO5dKREvsmnxNqeZgQMYGj9VBUCbBCSC5gGb3XbQUU8OL6IAy%2BQKlQ4GGSemyq78ULhA1PRqRKPO4WPhqHoVljy9rmaQmr86udGJLc69zdWeo5fm2%2BdhhZilr1MTLbviePAL7hhZubP77wTGZpik3BEjdA0PyNjTHmi67Sci%2FnvkGfEX30GPmXKU6DAZAJhYsVVZLCupKLEk0oT4DsbiADPMiAOpC32%2FXiGpGfr1%2BUS0hn5yH3JA1MB0j9ptAFFk4Yop9h0zZ0VjD2tdEppJ8R3qltI%2B8G7LIbSAaqgVia458MMYZ4klvHfS0DQ%2BT8nm9bBmt7on8UcBQZlah2nXUM8YSjzXzX%2FhEkSzHS6IKQalT17%2FiOIYr2qJ2XwSBIYfisnJyBUa0a68bA7YYSGt1FozO%2FzWHy74Q1bYOXAqz2MI7gjsasHwzd8X1ZpybB0Oosf5ndfuQyOAuUU23jU3UZND952hqmDC2q4u82X0rAlf2DfzDgh%2B%2BsBjqkASRzJnKwcuT5z5AIwldjR2eh0m0iewD1cJpp%2FoBq2%2FZ7YOvSc%2FIlrUu%2B7kTsgjrpL1H%2BtxcA5Atvpoepk%2BjSa5Kd4EhvQjvSYjgfAi1P5kgVGJ9%2BGsvTtU9%2FZn6auD4d4v1LkYdaz6juVqQ6FBd6BZPO%2FeFr8qgDzy%2FHwY9fK3asP6e%2BYcC2LQZwtKVyZdFuXo47lMW7ognyAqc65%2B4kZQmRMKzD&X-Amz-SignedHeaders=host&X-Amz-Signature=96a5ba148040603c4b0493ca56fff13fbddfbb21d579cd4f56e55a5b30126733", "next_episode_update_at": null, "latest_episode": { "id": "127006739678442", "comic_id": "20000000037068", "title": "第50話 青色神官の贈り物", "thumbnail_image_url": "https://cdn.to-corona-ex.com/episodes/thumbnails/2023/1122/1455/937a5b2ddf5220f9632802ed7762450e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA6BKBMAXOGJN7GXO5%2F20240108%2Fap-northeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240108T142824Z&X-Amz-Expires=900&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDoaDmFwLW5vcnRoZWFzdC0xIkgwRgIhAJ3PVLV0N3DM2%2BiyIkMl52qja5qT9GWmnOQpWED8WwEtAiEAkwszfDMz9rbhPCtnUzRYNyOPXQALVm%2FbN4LGcblM3bEq%2FQMI0%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw5NjQ4OTQxMzE2NzYiDAVUHzHHNG9ww8DR5SrRA8dPWFyhgRwMe9fngGEzwxJ3l82jtgM%2FvKDMHH6sMpZq4tvaXCShLgbVIpDOe0bftVEzPFmdbnWm6Za8n%2BEXQQ0Ly9FB2EB4LQaBOJWQHCCbKo02qf1iubTO95Z6DctO5dKREvsmnxNqeZgQMYGj9VBUCbBCSC5gGb3XbQUU8OL6IAy%2BQKlQ4GGSemyq78ULhA1PRqRKPO4WPhqHoVljy9rmaQmr86udGJLc69zdWeo5fm2%2BdhhZilr1MTLbviePAL7hhZubP77wTGZpik3BEjdA0PyNjTHmi67Sci%2FnvkGfEX30GPmXKU6DAZAJhYsVVZLCupKLEk0oT4DsbiADPMiAOpC32%2FXiGpGfr1%2BUS0hn5yH3JA1MB0j9ptAFFk4Yop9h0zZ0VjD2tdEppJ8R3qltI%2B8G7LIbSAaqgVia458MMYZ4klvHfS0DQ%2BT8nm9bBmt7on8UcBQZlah2nXUM8YSjzXzX%2FhEkSzHS6IKQalT17%2FiOIYr2qJ2XwSBIYfisnJyBUa0a68bA7YYSGt1FozO%2FzWHy74Q1bYOXAqz2MI7gjsasHwzd8X1ZpybB0Oosf5ndfuQyOAuUU23jU3UZND952hqmDC2q4u82X0rAlf2DfzDgh%2B%2BsBjqkASRzJnKwcuT5z5AIwldjR2eh0m0iewD1cJpp%2FoBq2%2FZ7YOvSc%2FIlrUu%2B7kTsgjrpL1H%2BtxcA5Atvpoepk%2BjSa5Kd4EhvQjvSYjgfAi1P5kgVGJ9%2BGsvTtU9%2FZn6auD4d4v1LkYdaz6juVqQ6FBd6BZPO%2FeFr8qgDzy%2FHwY9fK3asP6e%2BYcC2LQZwtKVyZdFuXo47lMW7ognyAqc65%2B4kZQmRMKzD&X-Amz-SignedHeaders=host&X-Amz-Signature=bac324e5834f713fd107c61f8b0c91520a1d8d23007d0d9cad0390a886fe2d49", "published_at": "2023-12-04T11:00:00.000+09:00", "episode_status": "free_viewing", "episode_order": 63 }, "authors": [ { "creator_id": "41126740721665", "name": "鈴華", "role": "漫画" }, { "creator_id": "41127362052173", "name": "香月美夜", "role": "原作" }, { "creator_id": "41127808745615", "name": "椎名 優", "role": "イラスト原案" } ], "labels": [], "genres": [ { "id": "41114554925057", "name": "少女マンガ", "comics_count": 42 } ], "curations": [], "good_count": 740795 } ```
Neshura added this to the 4.0.0 milestone 2024-01-08 14:36:23 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
#20 Modularize the Bot
Neshura/aob-lemmy-bot
Reference: Neshura/aob-lemmy-bot#19
No description provided.