Closed pjn5047 closed 1 year ago
I ended up instead pulling the "light" video information from challenge.videos._light_models, then iterating over that ids in that list with a try/except so that I could skip over the errors and continue to the next video. It's probably inefficient, but it works for now!
Just a heads up, I updated the code such that the videos._light_models
is now videos.light_models
. Also, this is kind of the best way to do it at the moment. There currently isn't a more efficient way to do it, you just have to step through the iterator yourself
Small update - it looks like slideshows now work on desktop too, so you may not see this problem anymore.
I believe I'm getting and error because I'm trying to extract data from a slideshow. I know I could utilize
emulate_mobile=True
, however this severely limits the number of videos I am able to pull data on. Traceback on the error is below:I can't seem to figure out where to put my
except:
statement since even calling the video in thefor videos in challenge.videos
causes the error, so I'm not sure how to move to the next iteration.Any help is appreciated! Again, I apologize if there is a simple solution I am just missing.