youtube scraper fix
This commit is contained in:
		
							parent
							
								
									81df52235c
								
							
						
					
					
						commit
						4e968b4b1c
					
				| @ -1209,15 +1209,16 @@ class yt{ | |||||||
| 				 | 				 | ||||||
| 				$reel = | 				$reel = | ||||||
| 					$reel | 					$reel | ||||||
| 					->reelItemRenderer; | 					->shortsLockupViewModel; | ||||||
| 				 | 				 | ||||||
| 				array_push( | 				array_push( | ||||||
| 					$this->out["reel"], | 					$this->out["reel"], | ||||||
| 					[ | 					[ | ||||||
| 						"title" => | 						"title" => | ||||||
| 							$reel | 							$reel | ||||||
| 							->headline | 							->overlayMetadata | ||||||
| 							->simpleText, | 							->primaryText | ||||||
|  | 							->content, | ||||||
| 						"description" => null, | 						"description" => null, | ||||||
| 						"author" => [ | 						"author" => [ | ||||||
| 							"name" => null, | 							"name" => null, | ||||||
| @ -1225,30 +1226,22 @@ class yt{ | |||||||
| 							"avatar" => null | 							"avatar" => null | ||||||
| 						], | 						], | ||||||
| 						"date" => null, | 						"date" => null, | ||||||
| 						"duration" => | 						"duration" => null, | ||||||
| 							$this->textualtime2int( | 						"views" => null, | ||||||
| 								$reel |  | ||||||
| 								->accessibility |  | ||||||
| 								->accessibilityData |  | ||||||
| 								->label |  | ||||||
| 							), |  | ||||||
| 						"views" => |  | ||||||
| 							$this->truncatedcount2int( |  | ||||||
| 								$reel |  | ||||||
| 								->viewCountText |  | ||||||
| 								->simpleText |  | ||||||
| 							), |  | ||||||
| 						"thumb" => [ | 						"thumb" => [ | ||||||
| 							"url" => | 							"url" => | ||||||
| 								$reel | 								$reel | ||||||
| 								->thumbnail | 								->thumbnail | ||||||
| 								->thumbnails[0] | 								->sources[0] | ||||||
| 								->url, | 								->url, | ||||||
| 							"ratio" => "9:16" | 							"ratio" => "9:16" | ||||||
| 						], | 						], | ||||||
| 						"url" => | 						"url" => | ||||||
| 							"https://www.youtube.com/watch?v=" . | 							"https://www.youtube.com/watch?v=" . | ||||||
| 							$reel | 							$reel | ||||||
|  | 							->onTap | ||||||
|  | 							->innertubeCommand | ||||||
|  | 							->reelWatchEndpoint | ||||||
| 							->videoId | 							->videoId | ||||||
| 					] | 					] | ||||||
| 				); | 				); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lolcat
						lolcat