Open simonk83 opened 5 years ago
I've had the exact same problem, and was able to fix it (and your other issue) with some workarounds. I've just created a pull request that fixes both of your open issues.
Awesome, thanks for that :) I've been having a tinker but my python is ... bad. Something to do with some videos on the site not actually having a video associated to them?
No worries at all. I actually don't know python at all myself, but was able to piece together something that seems to work (I make no guarantees of quality!)
Yeah i think the issue is around malformed URLs or something. They're validated in some parts of the code, but not when we use the URL to construct the name, so i just added in a bypass for that bit, if the URL is empty.
Ok, while we're talking about this, I don't know if you've noticed but if you do search for video_show 10 (Playdate), it never sees or grabs anything past Dead Rising 01/25/2017 (even now with your fix in place). Looking at the site and the various apps, it does seem that the videos are categorised correctly as being under Playdate, so I guess there's something else going on...
Odd, what command are you using to run?
If I use giant_bomb_cli.py --filter --video_show 10
it'll return me back the 25 most recent playdates, starting from the resident evil playdate on 13/03/19
Command up the top, maybe it's the sort ascending. I thought it would return every single item regardless though...
EDIT: Ahhh, just reading the code again, if you don't use the -l flag to set a limit, it defaults to 25. Makes sense then! I guess I just need to add a huge limit to grab everything 😊
If I try and grab everything with video_show ID 10 (Playdate), it never grabs everything, it seems to stop midway and doesn't show all results.
simon@Proxbuntu:~/Downloads/giant_bomb_cli$ python giant_bomb_cli.py --sort asc --filter --download --download-archive /home/simon/Downloads/giant_bomb_cli/archive.txt --output /mnt/nas/BB --quality hd --video_show 10
The last file it tries to grab it this from 2017:
If I specifically search for the word Playdate as below, it seems to be having a problem with a specific file that's causing it to halt: