-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox download update #4749
Firefox download update #4749
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4749 +/- ##
==========================================
+ Coverage 86.15% 86.16% +0.01%
==========================================
Files 416 416
Lines 37526 37574 +48
==========================================
+ Hits 32329 32376 +47
- Misses 5197 5198 +1 ☔ View full report in Codecov by Sentry. |
@@ -2,7 +2,7 @@ | |||
"""SQLite parser plugin for Mozilla Firefox downloads database files.""" | |||
|
|||
from dfdatetime import posix_time as dfdatetime_posix_time | |||
|
|||
import json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style nit: given this module is part of Python the import should come before 3rd party imports
@@ -133,3 +277,4 @@ def ParseDownloadsRow( | |||
|
|||
|
|||
sqlite.SQLiteParser.RegisterPlugin(FirefoxDownloadsPlugin) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use RegisterPlugins instead
self.url = None | ||
|
||
|
||
class Firefox118DownloadsPlugin(interface.SQLitePlugin): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add docstring
8e66de9
to
0a0ab98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
One line description of pull request
Firefox Download plugin was out of date, so I updated
Description:
Firefox schema has changed significantly since this parser(plugin) was written. This handles #2539
Notes:
Checklist: