Compare commits
	
		
			1 Commits
		
	
	
		
			dev
			...
			a7babdbba4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a7babdbba4 | 
@@ -14,8 +14,12 @@ var dl = ytdlp.New().
 | 
				
			|||||||
	FormatSort("res,ext:mp4:m4a").
 | 
						FormatSort("res,ext:mp4:m4a").
 | 
				
			||||||
	Output("C:/Users/Administrator/ytdlpVideos/%(uploader)s/%(title)s.%(ext)s").
 | 
						Output("C:/Users/Administrator/ytdlpVideos/%(uploader)s/%(title)s.%(ext)s").
 | 
				
			||||||
	LimitRate("50M").
 | 
						LimitRate("50M").
 | 
				
			||||||
	HTTPChunkSize("20M").
 | 
						// HTTPChunkSize("20M").
 | 
				
			||||||
	MarkWatched()
 | 
						MarkWatched().
 | 
				
			||||||
 | 
						SponsorblockMark("all").
 | 
				
			||||||
 | 
						PrintJSON().
 | 
				
			||||||
 | 
						RecodeVideo("mp4").
 | 
				
			||||||
 | 
						ConcurrentFragments(4)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func Download(event PBEvent, status chan error) {
 | 
					func Download(event PBEvent, status chan error) {
 | 
				
			||||||
	_, err := dl.Run(context.TODO(), event.Record.Link)
 | 
						_, err := dl.Run(context.TODO(), event.Record.Link)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user