mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	Update src/libpoketube/libpoketube-core.js
This commit is contained in:
		
							parent
							
								
									a60ce8a9d9
								
							
						
					
					
						commit
						20d6128206
					
				| @ -122,13 +122,7 @@ class InnerTubePokeVidious { | ||||
|       ); | ||||
|     } | ||||
| 
 | ||||
|     var vidOBJECT = "" | ||||
|     if(vid.error) { | ||||
|       var vidOBJECT = vid.error | ||||
|     } else { | ||||
|       var vidOBJECT = vid | ||||
|     } | ||||
|      if (this.checkUnexistingObject(vid)) { | ||||
|     if (this.checkUnexistingObject(vid)) { | ||||
|       const fe = await getdislikes(v); | ||||
| 
 | ||||
|       try { | ||||
| @ -139,7 +133,7 @@ class InnerTubePokeVidious { | ||||
|           result: { | ||||
|             json: json?.video, | ||||
|             video, | ||||
|             vidOBJECT, | ||||
|             vid, | ||||
|             comments, | ||||
|             channel_uploads: p, | ||||
|             engagement: fe.engagement, | ||||
| @ -156,8 +150,6 @@ class InnerTubePokeVidious { | ||||
|         }; | ||||
| 
 | ||||
|         return this.cache[v].result; | ||||
| 
 | ||||
|      | ||||
|       } catch (error) { | ||||
|         this.initError("Error getting video", error); | ||||
|       } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley