MCPcopy
hub / github.com/mxrch/GHunt / _scrape

Method _scrape

ghunt/parsers/drive.py:582–605  ·  view source on GitHub ↗
(self, app_data: Dict[str, any])

Source from the content-addressed store, hash-verified

580 self.supports_all_drives: bool = False
581
582 def _scrape(self, app_data: Dict[str, any]):
583 self.kind = app_data.get('kind')
584 self.id = app_data.get('id')
585 self.name = app_data.get('name')
586 self.type = app_data.get('type')
587 self.short_description = app_data.get('shortDescription')
588 self.long_description = app_data.get('longDescription')
589 self.supports_create = app_data.get('supportsCreate')
590 self.supports_import = app_data.get('supportsImport')
591 self.supports_multi_open = app_data.get('supportsMultiOpen')
592 self.supports_offline_create = app_data.get('supportsOfflineCreate')
593 self.supports_mobile_browser = app_data.get('supportsMobileBrowser')
594 self.installed = app_data.get('installed')
595 self.authorized = app_data.get('authorized')
596 self.drive_branded_app = app_data.get('driveBrandedApp')
597 self.drive_branded = app_data.get('driveBranded')
598 self.hidden = app_data.get('hidden')
599 self.removable = app_data.get('removable')
600 self.has_drive_wide_scope = app_data.get('hasDriveWideScope')
601 self.use_by_default = app_data.get('useByDefault')
602 self.primary_mime_types = app_data.get('primaryMimeTypes')
603 self.requires_authorization_before_open_with = app_data.get('requiresAuthorizationBeforeOpenWith')
604 self.supports_team_drives = app_data.get('supportsTeamDrives')
605 self.supports_all_drives = app_data.get('supportsAllDrives')
606
607class DriveOpenWithLinks(Parser):
608 def __init__(self):

Callers 5

_scrapeMethod · 0.45
_scrapeMethod · 0.45
_scrapeMethod · 0.45
_scrapeMethod · 0.45
_scrapeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected