mirror of
https://github.com/glanceapp/glance.git
synced 2024-12-15 01:22:37 +03:00
Remove previous scuffed attempt at filtering shorts
This commit is contained in:
parent
acaf50bf8a
commit
3949e15f77
@ -78,12 +78,6 @@ func FetchYoutubeChannelUploads(channelIds []string, videoUrlTemplate string, no
|
|||||||
|
|
||||||
for j := range response.Videos {
|
for j := range response.Videos {
|
||||||
video := &response.Videos[j]
|
video := &response.Videos[j]
|
||||||
|
|
||||||
// TODO: figure out a better way of skipping shorts
|
|
||||||
if strings.Contains(video.Title, "#shorts") {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
var videoUrl string
|
var videoUrl string
|
||||||
|
|
||||||
if videoUrlTemplate == "" {
|
if videoUrlTemplate == "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user