Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
update apps
Browse files Browse the repository at this point in the history
  • Loading branch information
k03mad committed Nov 17, 2023
1 parent 146e9e2 commit 5f9ab59
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions app/cron/providers/bank_tinkoff.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ const REQUEST_URL = 'https://www.tinkoff.ru/apps/';
const REQUEST_OPTS = {headers: {'user-agent': getUa('mobile')}};

const RESPONSE_LINK_RE = /[^"]+apk/g;
const APKS_LINK_RE = /invest|f-bank/i;

/** */
export default async () => {
const {body} = await request(REQUEST_URL, REQUEST_OPTS);

const links = body.match(RESPONSE_LINK_RE);
return links
.filter(link => APKS_LINK_RE.test(link))
.map(link => ({link, homepage: REQUEST_URL}));
return links.map(link => ({link, homepage: REQUEST_URL}));
};
1 change: 0 additions & 1 deletion app/cron/providers/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {getApkFromGhRepos} from './helpers/github.js';

/** */
export default () => getApkFromGhRepos([
{name: 'AdguardTeam/ContentBlocker'},
{name: 'EtchDroid/EtchDroid'},
{name: 'imranr98/obtainium', re: {include: /arm64/}},
{name: 'kyujin-cho/pixel-volte-patch'},
Expand Down
1 change: 1 addition & 0 deletions app/cron/providers/github_youtube.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {getApkFromGhRepos} from './helpers/github.js';

const repos = [
{name: 'inotia00/mMicroG', re: {includes: /arm64/}},
{name: 'inotia00/VancedMicroG'},
{name: 'NoName-exe/revanced-extended', re: {include: /all/}},
{name: 'polymorphicshade/NewPipe'},
Expand Down

0 comments on commit 5f9ab59

Please sign in to comment.