Skip to content

Instantly share code, notes, and snippets.

@rachmadaniHaryono
Created April 6, 2018 08:52
Show Gist options
  • Save rachmadaniHaryono/e8eb276132e977a11fe9e3bcfd114701 to your computer and use it in GitHub Desktop.
Save rachmadaniHaryono/e8eb276132e977a11fe9e3bcfd114701 to your computer and use it in GitHub Desktop.
hydrus parser config for yiff party
[58, "yiff.party api parser", 2, ["yiff.party api parser", "1d2b9ef06c1906b4c0de3d948caf7a06d48db8d4c656f0b9f732991bb061b084", [55, 1, [[], "https://yiff.party/2885342.json"]], [[[31, 1, [["posts", null], 1, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], [58, "posts", 2, ["posts", "5e0b0fe24397f162858602daf41ba8130443d220524d70c344d11f82f5862b94", [55, 1, [[], "example string"]], [[[31, 1, [["attachments", null], 1, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], [58, "attachments parser", 2, ["attachments parser", "b2d5a4f20f4bb9b05696df1623a31dbfe58cde6e77e10130972a8e221971b01f", [55, 1, [[], "example string"]], [], [26, 1, [[30, 2, ["attachment file url", 7, [31, 1, [["file_url"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], [2, 0]]], [30, 2, ["attachment filename tag", 0, [31, 1, [["file_name"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[[9, ["\\.[^.]+$", ""]]], "1.jpg"]]]], "filename"]], [30, 2, ["attachment id tag", 0, [31, 1, [["id"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], "id"]]]], [], {"url": "http://example.com/posts/index.php?id=123456"}]]], [[31, 1, [["post_file"], 1, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], [58, "post_file parser", 2, ["post_file parser", "d8dbfccd1fc7fa110d1a714d4a798f5e08dde0055858c13358b8d115ef5a48dd", [55, 1, [[], "example string"]], [], [26, 1, [[30, 2, ["post_file file url", 7, [31, 1, [["file_url"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], [2, 0]]], [30, 2, ["post_file filename tag", 0, [31, 1, [["file_name"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[[9, ["\\.[^.]+$", ""]]], "1.jpg"]]]], "filename"]], [30, 2, ["post_file id tag", 0, [31, 1, [["file_url"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], "id"]]]], [], {"url": "http://example.com/posts/index.php?id=123456"}]]]], [26, 1, [[30, 2, ["created tag", 0, [31, 1, [["created"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], "created"]], [30, 2, ["created timestamp", 16, [31, 1, [["created"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], 0]], [30, 2, ["id tag", 0, [31, 1, [["id"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], "id"]], [30, 2, ["title tag", 0, [31, 1, [["title"], 0, [51, 1, [3, "", null, null, "example string"]], [55, 1, [[], "parsed information"]]]], "title"]]]], [], {"url": "http://example.com/posts/index.php?id=123456"}]]]], [26, 1, []], ["https://yiff.party/2885342.json"], {"url": "http://example.com/posts/index.php?id=123456"}]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment