| 653 | self.photos_and_videos_only = folder_properties_data.get('photosAndVideosOnly') |
| 654 | |
| 655 | class DriveCommentList(Parser): |
| 656 | def __init__(self): |
| 657 | self.kind: str = "" |
| 658 | self.self_link: str = "" |
| 659 | self.items: List[DriveComment] = [] |
| 660 | |
| 661 | def _scrape(self, comment_list_data: Dict[str, any]): |
| 662 | self.kind = comment_list_data.get('kind') |
| 663 | self.self_link = comment_list_data.get('selfLink') |
| 664 | if (items_data := comment_list_data.get('items')): |
| 665 | for items_data_item in items_data: |
| 666 | items_item = DriveComment() |
| 667 | items_item._scrape(items_data_item) |
| 668 | self.items.append(items_item) |
| 669 | |
| 670 | class DriveComment(Parser): |
| 671 | def __init__(self): |