-
-
Notifications
You must be signed in to change notification settings - Fork 546
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
APIs #186
APIs #186
Conversation
PSNAppz
commented
Sep 8, 2020
- Added APIs
- Frontend UI in Angular
- Major code restructuring
defaultTimeoutInterval: 30000, | ||
print: function() {} | ||
}, | ||
onPrepare() { |
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.
'concise methods' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
// Protractor configuration file, see link for more information | ||
// https://github.com/angular/protractor/blob/master/lib/config.ts | ||
|
||
const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter'); |
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.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
'destructuring binding' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
|
||
|
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.
blank line contains whitespace
print("usage: See torBot.py -h for possible arguments.") | ||
|
||
print("\n\n") | ||
#jsonvalues = [node.json_data, node.links] |
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.
block comment should start with '# '
trailing whitespace
saveJson("Links", node.links) | ||
else: | ||
print("usage: See torBot.py -h for possible arguments.") | ||
|
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.
blank line contains whitespace
except (ValueError, HTTPError, ConnectionError) as err: | ||
raise err | ||
LinkIO.display_ip() | ||
print("display_ip()",LinkIO.display_ip()) |
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.
missing whitespace after ','
try: | ||
node = LinkNode(url) | ||
print("Node",node) | ||
print("Link Node",LinkNode(url)) |
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.
missing whitespace after ','
url = args['url'] | ||
try: | ||
node = LinkNode(url) | ||
print("Node",node) |
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.
missing whitespace after ','
# If url flag is set then check for accompanying flag set. Only one | ||
# additional flag can be set with -u/--url flag | ||
if "url" in args: | ||
print("url",args['url']) |
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.
missing whitespace after ','
# updateTor() | ||
# exit() | ||
# if not args['quiet']==True: | ||
# header() |
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.
indentation is not a multiple of four (comment)