Add files for testing Danbooru and Gelbooru posts
This commit is contained in:
		
					parent
					
						
							
								4c662ed7c1
							
						
					
				
			
			
				commit
				
					
						7eaa207852
					
				
			
		
					 2 changed files with 68 additions and 0 deletions
				
			
		
							
								
								
									
										53
									
								
								src/libdanbooru/autotests/donmai.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								src/libdanbooru/autotests/donmai.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,53 @@
 | 
				
			||||||
 | 
					[
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        "approver_id": null,
 | 
				
			||||||
 | 
					        "bit_flags": 0,
 | 
				
			||||||
 | 
					        "created_at": "2015-08-26T10:51:31.087-04:00",
 | 
				
			||||||
 | 
					        "down_score": 0,
 | 
				
			||||||
 | 
					        "fav_count": 0,
 | 
				
			||||||
 | 
					        "fav_string": "",
 | 
				
			||||||
 | 
					        "file_ext": "jpg",
 | 
				
			||||||
 | 
					        "file_size": 514370,
 | 
				
			||||||
 | 
					        "file_url": "/data/7ee70315eba5ea4fbda7cd6011c8d833.jpg",
 | 
				
			||||||
 | 
					        "has_active_children": false,
 | 
				
			||||||
 | 
					        "has_children": false,
 | 
				
			||||||
 | 
					        "has_large": true,
 | 
				
			||||||
 | 
					        "has_visible_children": false,
 | 
				
			||||||
 | 
					        "id": 2106872,
 | 
				
			||||||
 | 
					        "image_height": 993,
 | 
				
			||||||
 | 
					        "image_width": 1200,
 | 
				
			||||||
 | 
					        "is_banned": false,
 | 
				
			||||||
 | 
					        "is_deleted": false,
 | 
				
			||||||
 | 
					        "is_flagged": false,
 | 
				
			||||||
 | 
					        "is_note_locked": false,
 | 
				
			||||||
 | 
					        "is_pending": false,
 | 
				
			||||||
 | 
					        "is_rating_locked": false,
 | 
				
			||||||
 | 
					        "is_status_locked": false,
 | 
				
			||||||
 | 
					        "large_file_url": "/data/sample/sample-7ee70315eba5ea4fbda7cd6011c8d833.jpg",
 | 
				
			||||||
 | 
					        "last_comment_bumped_at": null,
 | 
				
			||||||
 | 
					        "last_commented_at": null,
 | 
				
			||||||
 | 
					        "last_noted_at": null,
 | 
				
			||||||
 | 
					        "md5": "7ee70315eba5ea4fbda7cd6011c8d833",
 | 
				
			||||||
 | 
					        "parent_id": null,
 | 
				
			||||||
 | 
					        "pixiv_id": 52204885,
 | 
				
			||||||
 | 
					        "pool_string": "",
 | 
				
			||||||
 | 
					        "preview_file_url": "/data/preview/7ee70315eba5ea4fbda7cd6011c8d833.jpg",
 | 
				
			||||||
 | 
					        "rating": "s",
 | 
				
			||||||
 | 
					        "score": 0,
 | 
				
			||||||
 | 
					        "source": "http://i2.pixiv.net/img-original/img/2015/08/26/23/01/43/52204885_p22.jpg",
 | 
				
			||||||
 | 
					        "tag_count": 18,
 | 
				
			||||||
 | 
					        "tag_count_artist": 1,
 | 
				
			||||||
 | 
					        "tag_count_character": 1,
 | 
				
			||||||
 | 
					        "tag_count_copyright": 1,
 | 
				
			||||||
 | 
					        "tag_count_general": 15,
 | 
				
			||||||
 | 
					        "tag_string": "1girl all_fours bare_legs barefoot brown_eyes brown_hair chain collar hat hecatia_lapislazuli long_hair looking_at_viewer off_shoulder shirt skirt solo touhou uranaishi_(miraura)",
 | 
				
			||||||
 | 
					        "tag_string_artist": "uranaishi_(miraura)",
 | 
				
			||||||
 | 
					        "tag_string_character": "hecatia_lapislazuli",
 | 
				
			||||||
 | 
					        "tag_string_copyright": "touhou",
 | 
				
			||||||
 | 
					        "tag_string_general": "1girl all_fours bare_legs barefoot brown_eyes brown_hair chain collar hat long_hair looking_at_viewer off_shoulder shirt skirt solo",
 | 
				
			||||||
 | 
					        "up_score": 0,
 | 
				
			||||||
 | 
					        "updated_at": "2015-08-26T10:52:09.550-04:00",
 | 
				
			||||||
 | 
					        "uploader_id": 254161,
 | 
				
			||||||
 | 
					        "uploader_name": "Schrobby"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					]
 | 
				
			||||||
							
								
								
									
										15
									
								
								src/libdanbooru/autotests/gelbooru.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								src/libdanbooru/autotests/gelbooru.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,15 @@
 | 
				
			||||||
 | 
					<posts count="2616897" offset="0">
 | 
				
			||||||
 | 
					  <post height="3500" score="0"
 | 
				
			||||||
 | 
					  file_url="http://gelbooru.com/images/92/ba/92ba4abfcb084ee49c0d3c1a08bcc3bf.jpg"
 | 
				
			||||||
 | 
					  parent_id=""
 | 
				
			||||||
 | 
					  sample_url="http://gelbooru.com/samples/92/ba/sample_92ba4abfcb084ee49c0d3c1a08bcc3bf.jpg"
 | 
				
			||||||
 | 
					  sample_width="850" sample_height="1198"
 | 
				
			||||||
 | 
					  preview_url="http://gelbooru.com/thumbnails/92/ba/thumbnail_92ba4abfcb084ee49c0d3c1a08bcc3bf.jpg"
 | 
				
			||||||
 | 
					  rating="s"
 | 
				
			||||||
 | 
					  tags="2girls absurdres ahoge artist_request bikini blonde_hair blush braid building cameltoe character_request city cloud cover cover_page eating flat_chest food hair_intakes highres ice_cream ice_cream_cone leaning_forward leg_lift licking long_hair looking_at_viewer multiple_girls navel open_mouth outdoors red_eyes ribbon sandals school_swimsuit side-tie_bikini silver_hair sky skyscraper smile swimsuit thigh_gap tongue twin_braids twintails two_side_up very_long_hair"
 | 
				
			||||||
 | 
					  id="2825488" width="2483" change="1440627321"
 | 
				
			||||||
 | 
					  md5="92ba4abfcb084ee49c0d3c1a08bcc3bf" creator_id="6498"
 | 
				
			||||||
 | 
					  has_children="false" created_at="Wed Aug 26 17:15:20 -0500 2015"
 | 
				
			||||||
 | 
					  status="active" source="" has_notes="false" has_comments="false"
 | 
				
			||||||
 | 
					  preview_width="106" preview_height="150" />
 | 
				
			||||||
 | 
					</posts>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue