Skip to content

Commit

Permalink
bugFix: solved conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
myas92 committed Oct 13, 2021
2 parents e104690 + 3d688eb commit 94848a1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# domian-finder
# domain-finder

[domain-finder](https://github.com/mohammadyaser/domian-finder) is used to find, scan and collect available and unavailable domains;
[domain-finder](https://github.com/mohammadyaser/domain-finder) is used to find, scan and collect available and unavailable domains;

If you spend more time for choosing the domain name, with this module you can quickly find a suitable name for own

Expand Down Expand Up @@ -31,9 +31,9 @@ create a .txt file based on time, that all available and unavailable domains are
APPLE:
Available domains:
╔═══════════════╤═════════════════╤═════════════════╤═══════════════╤════════════════╤═════════════════╤═════════════════╗
apple.com │ appledesai.com │ applehashem.com │ applesaid.net │ applemalik.net │ appleabbas.net │ appledesai.net ║
╚═══════════════╧═════════════════╧═════════════════╧═══════════════╧════════════════╧═════════════════╧═════════════════╝
╔═════════════════╤═════════════════╤═══════════════╤════════════════╤═════════════════╤═════════════════╗
║ appledesai.com │ applehashem.com │ applesaid.net │ applemalik.net │ appleabbas.net │ appledesai.net ║
╚═════════════════╧═════════════════╧═══════════════╧════════════════╧═════════════════╧═════════════════╝
Unavailable domains:
╔═══════════╤═══════════╗
║ apple.com │ apple.net ║
Expand All @@ -43,7 +43,7 @@ Unavailable domains:
## Second Example ##
if you want for check the domains of a series of specefic words, just try like this
If you want to check the domains of a series of specefic words, just try like this
```javascript
const domainFinder = require('domain-finder');
Expand Down Expand Up @@ -134,7 +134,7 @@ domainFinder({

#### result: ####

![alt text](https://github.com/mohammadyaser/domian-finder/blob/master/assets/result.png)
![alt text](https://github.com/mohammadyaser/domain-finder/blob/master/assets/result.png)



Expand Down
8 changes: 4 additions & 4 deletions business-logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class BusinessLogic {
let result = []
while (reversedParsedDomain.length > 0)
domainsChunk.push(reversedParsedDomain.splice(0, size));
async.eachOfSeries(domainsChunk, async (domians, index) => {
async.eachOfSeries(domainsChunk, async (domains, index) => {
try {
let urls = await this.getUrlsFromGoogle({ domains: domians, prefix, postfix, statusPrefix, statusPostfix, counter: index, size })
let urls = await this.getUrlsFromGoogle({ domains: domains, prefix, postfix, statusPrefix, statusPostfix, counter: index, size })
let allParsedUrls = await this.saveUrls(urls, tlds, consoleLog);
console.log(`Please check ${allParsedUrls.fileName}.txt`);
result.push(allParsedUrls)
Expand Down Expand Up @@ -133,8 +133,8 @@ class BusinessLogic {
let fileName = +new Date()
let validInvalidUrls = []

for (let domians of allUrls) {
let { domainName, urls } = domians
for (let domains of allUrls) {
let { domainName, urls } = domains
let { validResult, invalidResult } = this.extractValidAndInvalidUrls({ urls, tlds })

if (consoleLog)
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,28 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/myas92/domian-finder.git"
"url": "git+https://github.com/myas92/domain-finder.git"

},
"keywords": [
"domain",
"finddomain",
"checkdomain",
"domianfinder",
"domainfinder",
"domain-finder",
"subdomain",
"search-domain",
"find-domain",
"host",
"domain-scrapper"
],
"author": "Yaser",
"license": "ISC",
"bugs": {
"url": "https://github.com/myas92/domian-finder/issues"

"url": "https://github.com/myas92/domain-finder/issues"
},
"homepage": "https://github.com/mohammadyaser/domian-finder#readme",
"homepage": "https://github.com/myas92/domain-finder#readme",
"dependencies": {
"async": "^3.2.1",
"axios": "^0.21.4",
Expand Down

0 comments on commit 94848a1

Please sign in to comment.