Merged
Conversation
Member
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.
'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.
'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).
| #jsonvalues = [node.json_data, node.links] | ||
| return node.links | ||
|
|
||
|
|
| 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.
block comment should start with '# '
trailing whitespace
| saveJson("Links", node.links) | ||
| else: | ||
| print("usage: See torBot.py -h for possible arguments.") | ||
|
|
| except (ValueError, HTTPError, ConnectionError) as err: | ||
| raise err | ||
| LinkIO.display_ip() | ||
| print("display_ip()",LinkIO.display_ip()) |
| try: | ||
| node = LinkNode(url) | ||
| print("Node",node) | ||
| print("Link Node",LinkNode(url)) |
| url = args['url'] | ||
| try: | ||
| node = LinkNode(url) | ||
| print("Node",node) |
| # 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']) |
| # updateTor() | ||
| # exit() | ||
| # if not args['quiet']==True: | ||
| # header() |
There was a problem hiding this comment.
indentation is not a multiple of four (comment)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.