Showing preview only (1,315K chars total). Download the full file or copy to clipboard to get everything.
Repository: zim-bot/zimbot-v4
Branch: zim-bot
Commit: ec8216f6e104
Files: 117
Total size: 1.2 MB
Directory structure:
gitextract_gb_3ye8s/
├── .dockerignore
├── .gitattributes
├── .github/
│ └── FUNDING.yml
├── .npmignore
├── Dockerfile
├── LICENSE
├── README.md
├── Zimbot/
│ ├── gtts.js
│ ├── index.js
│ ├── index2.js
│ ├── index3.js
│ ├── index4.js
│ ├── index5.js
│ ├── jadibot.js
│ ├── mediafire.js
│ └── zimbotii.js
├── Zimbot.js
├── app.json
├── bot.js
├── bot_session/
│ └── upload_your_creds.json_here
├── database/
│ ├── antilink.json
│ ├── balance.json
│ ├── ban.json
│ ├── banned.json
│ ├── database.json
│ ├── glimit.json
│ ├── inventori.json
│ ├── language.json
│ ├── level.json
│ ├── leveluser.json
│ ├── limit.json
│ ├── userhit.json
│ └── welcome.json
├── drips.js
├── drips.yml
├── gitattributes
├── gitignore
├── heroku.yml
├── index.js
├── level.js
├── leveluser.json
├── lib/
│ ├── ApkDown.js
│ ├── Dockerfile
│ ├── antispam.js
│ ├── binary.js
│ ├── cloudDBAdapter.js
│ ├── color.js
│ ├── converter.js
│ ├── database.js
│ ├── dungeon.js
│ ├── exif.js
│ ├── fetcher.js
│ ├── image.js
│ ├── level.js
│ ├── levelling.js
│ ├── limit.js
│ ├── limit2.js
│ ├── limit3.js
│ ├── limitbb.js
│ ├── limitc.js
│ ├── lirik.js
│ ├── liyascrape.js
│ ├── lol.js
│ ├── lvlfunction.js
│ ├── mediafire.js
│ ├── mongoDB.js
│ ├── myfunc.js
│ ├── myfunc2.js
│ ├── namaku.js
│ ├── nothing.js
│ ├── random.js
│ ├── rpg.js
│ ├── rude.json
│ ├── scrape.js
│ ├── scrape2.js
│ ├── scrape3.js
│ ├── scrapedl.js
│ ├── scrapejoox.js
│ ├── scraper.js
│ ├── scraper2.js
│ ├── scraper3.js
│ ├── skiuwers.js
│ ├── tes.xlsx
│ ├── tictactoe.d.ts
│ ├── tictactoe.js
│ ├── tiktok.js
│ ├── uploader.js
│ ├── y2mate.js
│ ├── ytdl.js
│ ├── ytdl2.js
│ └── zimbot
├── limit.js
├── package.json
├── plugins/
│ ├── converter.js
│ ├── neoxrApi.js
│ ├── sticker.js
│ ├── tiktok.js
│ ├── uploadFile.js
│ └── uploadImage.js
├── replit
├── replit.nix
├── rude.json
├── server.js
├── speed.py
├── src/
│ ├── database.json
│ └── math.js
├── storage/
│ └── user/
│ ├── alat_tukar.js
│ ├── buruan.js
│ ├── darah.js
│ ├── darah.json
│ ├── hasil_buruan.json
│ ├── inventory.json
│ ├── limit.js
│ ├── limit.json
│ ├── monay.js
│ └── monay.json
└── tez.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .dockerignore
================================================
node_modules
package-lock.json
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
================================================
FILE: .github/FUNDING.yml
================================================
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['https://www.youtube.com/c/DRISOFC', 'link2']
================================================
FILE: .npmignore
================================================
node_modules
package-lock.json
================================================
FILE: Dockerfile
================================================
FROM fedora:37
RUN sudo dnf -y update &&\
sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &&\
sudo dnf install -y git ffmpeg ImageMagick nodejs libwebp yarnpkg &&\
sudo dnf clean all -y
WORKDIR /zimbot
COPY . /zimbot
RUN yarn
CMD ["node", "."]
================================================
FILE: LICENSE
================================================
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.
================================================
FILE: README.md
================================================
<<<<<<< HEAD
<a href="https://youtube.com/@zim-bot"><img src="https://img.shields.io/badge/Tutorial-Video-ff0000?style=for-the-badge&logo=youtube&logoColor=ff000000&link=https://youtube.com/@zim-bot" /><br>
# ZIM BOT V4
## ``` This Script is for Everyone Don't sell it at high price ```
## WATCH TUTORIAL NICELY DON'T SKIP [`YOUTUBE`](https://youtube.com/@zim-bot)
## ``` Are you Experiencing an error don't hesitate to ask me ``` [`DRIPS`](https://wa.me/+447441437150)
WhatsApp with so Many features using multi device [`BAILEYS`](https://github.com/adiwajshing/baileys)
<a href="https://youtube.com/@zim-bot"><img src="https://img.shields.io/badge/Tutorial-Video-ff0000?style=for-the-badge&logo=youtube&logoColor=ff000000&link=https://youtube.com/@zim-bot" /><br>
## ```Donate Me```
- [`Paypal`](https://www.paypal.me/zimbotinc)
</a>
</p>
<p align="center">
<img src="https://i.imgur.com/LbmTdhf.gif" alt="animated" />
</p>
## [](https://chat.whatsapp.com/Kmb2MgOn3voDqrI2khhYDa) [](https://nodejs.org/en/)
> A Fully PRECIOUS COOL BOT BY DRIPS MEMES <br>
>
## DONT FORGET TO GIVE A STAR🌟 AND FORK
[](https://heroku.com/deploy?template=https://github.com/zim-bot/zimbot-v4)
## BUILD PACKS
```
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest
https://github.com/clhuang/heroku-buildpack-webp-binaries.git
```
[](https://replit.com/@ReinhardTuna/ZIM-BOT-INC-QR?v=1)
<img src="https://fontmeme.com/permalink/220116/0c42dc0b64931810388ba399da55e927.png" alt="backwoods-logo-font" border="0"></a>
## > THIS BOT CODED BY DRIPS MEMES ZIM BOT INC
## > FOLLOW STEPS BELOW FOR INSTALLATION
## > THIS BOT IT USE MULTI DEVICE BAILEYS
## > CHANGE LINK IN LIB FOLDER 📁📂 CHANGE HERE [`DOCKERFILE`](https://github.com/zim-bot/zimbot-v4/edit/main/lib/Dockerfile)
```
apt install nodejs
apt install git
apt update && apt upgrade
git clone https://github.com/zim-bot/zimbot-v4
cd zimbot-v4
rm -r session.json
node --expose-gc index.js
echo scan the qr code and enjoy bot
```
## JOIN MY WHATSAPP GROUP
# [](https://chat.whatsapp.com/EFsb8RCXV4jLEFk4eAcA1A)
## MY PERSONAL CHAT
# [](https://wa.me/27634090203)
# > THANKS FOR CHOOSING ZIM BOT WE APPRECIATE YOU FOR YOUR SUPPORT
=======
<a href="https://youtu.be/v1UL3fB3bK0"><img src="https://img.shields.io/badge/Tutorial-Video-ff0000?style=for-the-badge&logo=youtube&logoColor=ff000000&link="https://youtu.be/v1UL3fB3bK0" /><br>
# ZIM BOT V4 NEW UPDATE
## ``` This Script is for Everyone Don't sell it at high price ```
## WATCH TUTORIAL NICELY DON'T SKIP [`YOUTUBE`](https://youtu.be/v1UL3fB3bK0)
## ``` Are you Experiencing an error don't hesitate to ask me ``` [`DRIPS`](https://wa.me/263776558634)
WhatsApp with so Many features using multi device [`BAILEYS`](https://github.com/adiwajshing/baileys)
<a href="https://youtu.be/v1UL3fB3bK0"><img src="https://img.shields.io/badge/Tutorial-Video-ff0000?style=for-the-badge&logo=youtube&logoColor=ff000000&link=https://youtu.be/v1UL3fB3bK0" /><br>
## ```Donate Me```
- [`Paypal`](https://www.paypal.me/zimbotinc)
</a>
</p>
<p align="center">
<img src="https://i.imgur.com/LbmTdhf.gif" alt="animated" />
</p>
## [](https://chat.whatsapp.com/Kmb2MgOn3voDqrI2khhYDa) [](https://nodejs.org/en/)
> A Fully PRECIOUS COOL BOT BY BLESSED TUNA (DRIPS BLENNIE MEMES) <br>
>
## DONT FORGET TO GIVE A STAR🌟 AND FORK
[](https://heroku.com/deploy?template=https://github.com/zim-bot/zimbot-v4)
## BUILD PACKS
```
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest
https://github.com/clhuang/heroku-buildpack-webp-binaries.git
```
[](https://replit.com/@ReinhardTuna/ZIM-BOT-INC-QR?v=1)
<img src="https://fontmeme.com/permalink/220116/0c42dc0b64931810388ba399da55e927.png" alt="backwoods-logo-font" border="0"></a>
## > THIS BOT CODED BY DRIPS MEMES ZIM BOT INC
## > FOLLOW STEPS BELOW FOR INSTALLATION
## > THIS BOT IT USE MULTI DEVICE BAILEYS
```
apt install nodejs
apt install git
apt update && apt upgrade
git clone https://github.com/zim-bot/zimbot-v4
cd zimbot-v4
yarn
node --expose-gc index.js
echo scan the qr code and enjoy bot
```
## JOIN MY WHATSAPP GROUP
# [](https://chat.whatsapp.com/Kmb2MgOn3voDqrI2khhYDa)
## MY PERSONAL CHAT
# [](https://wa.me/263776558634)
# > THANKS FOR CHOOSING ZIM BOT WE APPRECIATE YOU FOR YOUR SUPPORT
>>>>>>> d904ae1d (new update)
================================================
FILE: Zimbot/gtts.js
================================================
const request = require('request');
const escapeStringRegexp = require('escape-string-regexp');
const async = require('async');
const fs = require('fs');
const MultiStream = require('multistream');
const fakeUa = require('fake-useragent');
const GOOGLE_TTS_URL = 'http://translate.google.com/translate_tts';
const MAX_CHARS = 100;
const LANGUAGES = {
'af': 'Afrikaans',
'sq': 'Albanian',
'ar': 'Arabic',
'hy': 'Armenian',
'ca': 'Catalan',
'zh': 'Chinese',
'zh-cn': 'Chinese (Mandarin/China)',
'zh-tw': 'Chinese (Mandarin/Taiwan)',
'zh-yue': 'Chinese (Cantonese)',
'hr': 'Croatian',
'cs': 'Czech',
'da': 'Danish',
'nl': 'Dutch',
'en': 'English',
'en-au': 'English (Australia)',
'en-uk': 'English (United Kingdom)',
'en-us': 'English (United States)',
'eo': 'Esperanto',
'fi': 'Finnish',
'fr': 'French',
'de': 'German',
'el': 'Greek',
'ht': 'Haitian Creole',
'hi': 'Hindi',
'hu': 'Hungarian',
'is': 'Icelandic',
'id': 'Indonesian',
'it': 'Italian',
'ja': 'Japanese',
'ko': 'Korean',
'la': 'Latin',
'lv': 'Latvian',
'mk': 'Macedonian',
'no': 'Norwegian',
'pl': 'Polish',
'pt': 'Portuguese',
'pt-br': 'Portuguese (Brazil)',
'ro': 'Romanian',
'ru': 'Russian',
'sr': 'Serbian',
'sk': 'Slovak',
'es': 'Spanish',
'es-es': 'Spanish (Spain)',
'es-us': 'Spanish (United States)',
'sw': 'Swahili',
'sv': 'Swedish',
'ta': 'Tamil',
'th': 'Thai',
'tr': 'Turkish',
'vi': 'Vietnamese',
'cy': 'Welsh'
}
function Text2Speech(_lang, _debug) {
var lang = _lang || 'en';
var debug = _debug || false;
lang = lang.toLowerCase();
if (!LANGUAGES[lang])
throw new Error('Language not supported: ' + lang);
var getArgs = getArgsFactory(lang);
return {
tokenize: tokenize,
createServer: (port) => createServer(getArgs, port),
stream: (text) => stream(getArgs, text),
save: (filepath, text, callback) => save(getArgs, filepath, text, callback)
}
}
function save(getArgs, filepath, text, callback) {
var text_parts = tokenize(text);
var total = text_parts.length;
async.eachSeries(text_parts, function(part, cb) {
var index = text_parts.indexOf(part);
var headers = getHeader();
var args = getArgs(part, index, total);
var fullUrl = GOOGLE_TTS_URL + args;
var writeStream = fs.createWriteStream(filepath, {
flags: index > 0 ? 'a' : 'w'
});
request({
uri: fullUrl,
headers: headers,
method: 'GET'
})
.pipe(writeStream);
writeStream.on('finish', cb);
writeStream.on('error', cb);
}, callback);
}
function stream(getArgs, text) {
var text_parts = tokenize(text);
var total = text_parts.length;
return MultiStream(text_parts.map(function(part, index) {
var headers = getHeader();
var args = getArgs(part, index, total);
var fullUrl = GOOGLE_TTS_URL + args
return request({
uri: fullUrl,
headers: headers,
method: 'GET'
});
}));
}
function getHeader() {
var headers = {
"User-Agent": fakeUa()
};
//console.log('headers', headers);
return headers;
}
function getArgsFactory(lang){
return function (text, index, total) {
var textlen = text.length;
var encodedText = encodeURIComponent(text);
var language = lang || 'en';
return `?ie=UTF-8&tl=${language}&q=${encodedText}&total=${total}&idx=${index}&client=tw-ob&textlen=${textlen}`
}
}
function tokenize(text) {
var text_parts = [];
if (!text)
throw new Error('No text to speak');
var punc = '¡!()[]¶;|°•—«»≤≥«»‹›\n ';
var punc_list = punc.split('').map(function(char) {
return escapeStringRegexp(char);
});
var pattern = punc_list.join('|');
var parts = text.split(new RegExp(pattern));
parts = parts.filter(p => p.length > 0);
var output = [];
var i = 0;
for (let p of parts) {
if (!output[i]) {
output[i] = '';
}
if (output[i].length + p.length < MAX_CHARS) {
output[i] += ' ' + p;
} else {
i++;
output[i] = p;
}
}
output[0] = output[0].substr(1);
return output;
}
function createServer(getArgs, port) {
var http = require("http");
var url = require('url');
var server = http.createServer(function(req, res) {
var queryData = url.parse(req.url, true).query;
var argsCallback = getArgs;
if (queryData && queryData.lang && LANGUAGES[queryData.lang]) {
argsCallback = getArgsFactory(queryData.lang);
}
if (queryData && queryData.text) {
res.writeHead(200, {'Content-Type': 'audio/mpeg'});
stream(argsCallback, queryData.text).pipe(res);
} else {
console.log(req.headers);
res.writeHead(200, {'Content-Type': 'application/json'});
res.end(JSON.stringify({
code: -1,
message: `Missing text. Please try: ${req.headers.host}?text=your+text`
}))
}
});
server.listen(port);
console.log("Text-to-Speech Server running on " + port);
}
module.exports = Text2Speech;
================================================
FILE: Zimbot/index.js
================================================
// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈
//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED
//▮
//▮FORK AND DON'T FORGET TO GIVE A STAR
//▮
//▮THIS SOFTWARE IS UNDER UZ COPYRIGHT
//▮
//▮REPORT ABUSE OF THIS SOFTWARE EMAIL US
//▮reinhardtuna@mail.uk
//▮WHATSAPP US : +44 7441 437150
//▮YOUTUBE CHANNELL: https://youtube.com/c/DRIPSOFC
//▮
//╰▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
//
//┏━━━━━━━━━━━━━━━━━━━━━━━━━
//┃THIS SOFTWARE INCLUDES
//┃SOME ENCRYPTED FILES
//┃
//┃THANKS FOR CHOOSING ZIMBOT
//┃I WROTE THIS SCRIPT BY MYSELF THIS SCRIPT IS FOR EVERYONE DONT SELL IT
//┗━━━━━━━━━━━━━━━━━━━━━━━━━
//━━━━━━━━━━━━━━━━━━━━━━━━
//
const cheerio = require('cheerio')
const fetch = require('node-fetch')
const axios = require('axios')
const _math = require('mathjs')
const _url = require('url')
const request = require('request');
const randomarray = async (array) => {
return array[Math.floor(Math.random() * array.length)]
}
exports.rexdl = async (query) => {
return new Promise((resolve) => {
axios.get('https://rexdl.com/?s=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const judul = [];
const jenis = [];
const date = [];
const desc = [];
const link = [];
const thumb = [];
const result = [];
$('div > div.post-content').each(function(a, b) {
judul.push($(b).find('h2.post-title > a').attr('title'))
jenis.push($(b).find('p.post-category').text())
date.push($(b).find('p.post-date').text())
desc.push($(b).find('div.entry.excerpt').text())
link.push($(b).find('h2.post-title > a').attr('href'))
})
$('div > div.post-thumbnail > a > img').each(function(a, b) {
thumb.push($(b).attr('data-src'))
})
for (let i = 0; i < judul.length; i++) {
result.push({
creator: 'Fajar Ihsana',
judul: judul[i],
kategori: jenis[i],
upload_date: date[i],
deskripsi: desc[i],
thumb: thumb[i],
link: link[i]
})
}
resolve(result)
})
})
}
exports.rexdldown = async (link) => {
return new Promise((resolve) => {
axios.get(link)
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const url = [];
const link_name = [];
const judul = $('#page > div > div > div > section > div:nth-child(2) > article > div > h1.post-title').text();
const plink = $('#page > div > div > div > section > div:nth-child(2) > center:nth-child(3) > h2 > span > a').attr('href')
axios.get(plink)
.then(({
data
}) => {
const $$ = cheerio.load(data)
$$('#dlbox > ul.dl > a > li > span').each(function(a, b) {
deta = $$(b).text();
link_name.push(deta)
})
$$('#dlbox > ul.dl > a').each(function(a, b) {
url.push($$(b).attr('href'))
})
for (let i = 0; i < link_name.length; i++) {
link.push({
link_name: link_name[i],
url: url[i]
})
}
resolve({
creator: 'Fajar Ihsana',
judul: judul,
update_date: $$('#dlbox > ul.dl-list > li.dl-update > span:nth-child(2)').text(),
version: $$('#dlbox > ul.dl-list > li.dl-version > span:nth-child(2)').text(),
size: $$('#dlbox > ul.dl-list > li.dl-size > span:nth-child(2)').text(),
download: link
})
})
})
})
}
exports.merdekanews = async () => {
return new Promise((resolve) => {
axios.get('https://www.merdeka.com/peristiwa/')
.then(({
data
}) => {
const $ = cheerio.load(data)
const judul = [];
const upload = [];
const link = [];
const thumb = [];
const result = [];
$('#mdk-content-center > div.inner-content > ul > li > div').each(function(a, b) {
deta = $(b).find('h3 > a').text();
judul.push(deta)
link.push('https://www.merdeka.com' + $(b).find('h3 > a').attr('href'))
upload.push($(b).find('div > span').text())
thumb.push($(b).find('div > a > img').attr('src'))
})
for (let i = 0; i < judul.length; i++) {
result.push({
judul: judul[i],
upload_date: upload[i],
link: link[i],
thumb: thumb[i]
})
}
resolve(result)
})
})
}
exports.metronews = async () => {
return new Promise((resolve) => {
axios.get('https://www.metrotvnews.com/news')
.then(({
data
}) => {
const $ = cheerio.load(data)
const judul = [];
const desc = [];
const link = [];
const thumb = [];
const tag = [];
const result = [];
$('body > div.container.layout > section.content > div > div.item-list.pt-20 > div > div > h3 > a').each(function(a, b) {
judul.push($(b).attr('title'))
})
$('body > div.container.layout > section.content > div > div.item-list.pt-20 > div > div > p').each(function(a, b) {
deta = $(b).text();
desc.push(deta)
})
$('body > div.container.layout > section.content > div > div.item-list.pt-20 > div > div > h3 > a').each(function(a, b) {
link.push('https://www.metrotvnews.com' + $(b).attr('href'))
})
$('body > div.container.layout > section.content > div > div.item-list.pt-20 > div > img').each(function(a, b) {
thumb.push($(b).attr('src').replace('w=300', 'w=720'))
})
for (let i = 0; i < judul.length; i++) {
result.push({
judul: judul[i],
link: link[i],
thumb: thumb[i],
deskripsi: desc[i]
})
}
resolve(result)
})
})
}
exports.asupanfilm = async (query) => {
return new Promise((resolve) => {
axios.get(`https://asupanfilm.link/?search=${query}`)
.then(({
data
}) => {
const $ = cheerio.load(data)
const judul = [];
const desc = [];
const thumb = [];
const link = [];
const result = [];
$('body > div > div > div.card-body.p-2 > ul > li > div > div > h6 > a').each(function(a, b) {
deta = $(b).text();
judul.push(deta)
})
$('body > div > div > div.card-body.p-2 > ul > li > div > div').each(function(a, b) {
deta = $(b).text()
desc.push(deta.split(' ')[2])
})
$('body > div > div > div.card-body.p-2 > ul > li > div > img').each(function(a, b) {
thumb.push($(b).attr('src').split('UX67_CR0,0,67,98_AL_')[0])
})
$('body > div > div > div.card-body.p-2 > ul > li > div > div > h6 > a').each(function(a, b) {
link.push('https://asupanfilm.link/' + $(b).attr('href'))
})
for (let i = 0; i < judul.length; i++) {
result.push({
judul: judul[i],
deskripsi: desc[i],
thumb: thumb[i],
link: link[i]
})
}
resolve(result)
})
})
}
exports.asupanfilminfo = async (link) => {
return new Promise((resolve) => {
axios.get(link)
.then(({
data
}) => {
const $ = cheerio.load(data)
const info = {
judul: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(1)').text(),
thumb: $('body > div > div.card.mb-3 > div.card-footer > a').attr('href'),
alurcerita_imdb: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(2)').text().split(' Alur Cerita IMDb: ')[1],
alurcerita_tmdb: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(3)').text().split(' Alur Cerita TMDb: ')[1],
direksi: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(4)').text().split(' Direksi: ')[1],
pemeran: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(5)').text().split(' Pemeran: ')[1],
kategori: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(6)').text().split(' Kategori: ')[1],
negara: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(7)').text().split(' Negara: ')[1],
tahun_rilis: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(8)').text().split(' Tahun Rilis: ')[1],
durasi: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(9)').text().split(' Durasi: ')[1],
skor: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(10)').text().split(' Skor: ')[1],
kualitas: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(11)').text().split(' Kualitas: ')[1],
jenis: $('body > div > div:nth-child(5) > div.card-body.p-2 > ul > li:nth-child(12)').text().split(' Jenis: ')[1]
}
resolve(info)
})
})
}
exports.stickersearch = async (query) => {
return new Promise((resolve) => {
axios.get(`https://getstickerpack.com/stickers?query=${query}`)
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
$('#stickerPacks > div > div:nth-child(3) > div > a').each(function(a, b) {
link.push($(b).attr('href'))
})
rand = link[Math.floor(Math.random() * link.length)]
axios.get(rand)
.then(({
data
}) => {
const $$ = cheerio.load(data)
const url = [];
$$('#stickerPack > div > div.row > div > img').each(function(a, b) {
url.push($$(b).attr('src').split('&d=')[0])
})
resolve({
creator: 'Fajar Ihsana',
title: $$('#intro > div > div > h1').text(),
author: $$('#intro > div > div > h5 > a').text(),
author_link: $$('#intro > div > div > h5 > a').attr('href'),
sticker: url
})
})
})
})
}
exports.randomtt = async (query) => {
return new Promise((resolve, reject) => {
axios.get('https://brainans.com/search?query=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const luser = $('#search-container > div:nth-child(1) > div.content__text > a').attr('href')
axios.get('https://brainans.com/' + luser)
.then(({
data
}) => {
const $$ = cheerio.load(data)
vlink = [];
$$('#videos_container > div > div.content__list.grid.infinite_scroll.cards > div > div > a').each(function(a, b) {
vlink.push('https://brainans.com/' + $$(b).attr('href'))
})
randomarray(vlink).then(res => {
axios.get(res)
.then(({
data
}) => {
const $$$ = cheerio.load(data)
resolve({
username: $$$('#card-page > div > div.row > div > div > div > div > div.main__user-desc.align-self-center.ml-2 > a').text(),
caption: $$$('#card-page > div > div.row > div > div > div.main__info.mb-4 > div.main__list').text(),
like_count: $$$('#card-page > div > div.row > div > div > div.main__info.mb-4 > div > div:nth-child(1) > span').text(),
comment_count: $$$('#card-page > div > div.row > div > div > div.main__info.mb-4 > div.content__btns.d-flex > div:nth-child(2) > span').text(),
share_count: $$$('#card-page > div > div.row > div > div > div.main__info.mb-4 > div.content__btns.d-flex > div:nth-child(3) > span').text(),
videourl: $$$('#card-page > div > div.row > div > div > div.main__info.mb-4 > div.main__image-container > div > video').attr('src')
})
})
})
})
})
})
}
exports.trendtwit = (country) => {
return new Promise((resolve, reject) => {
axios.get(`https://getdaytrends.com/${country}/`)
.then(({
data
}) => {
const $ = cheerio.load(data)
const hastag = [];
const tweet = [];
const result = [];
$('#trends > table.table.table-hover.text-left.clickable.ranking.trends.wider.mb-0 > tbody > tr> td.main > a').each(function(a, b) {
deta = $(b).text()
hastag.push(deta)
})
$('#trends > table.table.table-hover.text-left.clickable.ranking.trends.wider.mb-0 > tbody > tr > td.main > div > span').each(function(a, b) {
deta = $(b).text()
tweet.push(deta)
})
num = 1
for (let i = 0; i < hastag.length; i++) {
result.push({
rank: num,
hastag: hastag[i],
tweet: tweet[i]
})
num += 1
}
resolve({
country: country,
result: result
})
})
.catch(reject)
})
}
exports.pinterest = async (querry) => {
return new Promise(async (resolve, reject) => {
axios.get('https://id.pinterest.com/search/pins/?autologin=true&q=' + querry, {
headers: {
"cookie": "_auth=1; _b=\"AVna7S1p7l1C5I9u0+nR3YzijpvXOPc6d09SyCzO+DcwpersQH36SmGiYfymBKhZcGg=\"; _pinterest_sess=TWc9PSZHamJOZ0JobUFiSEpSN3Z4a2NsMk9wZ3gxL1NSc2k2NkFLaUw5bVY5cXR5alZHR0gxY2h2MVZDZlNQalNpUUJFRVR5L3NlYy9JZkthekp3bHo5bXFuaFZzVHJFMnkrR3lTbm56U3YvQXBBTW96VUgzVUhuK1Z4VURGKzczUi9hNHdDeTJ5Y2pBTmxhc2owZ2hkSGlDemtUSnYvVXh5dDNkaDN3TjZCTk8ycTdHRHVsOFg2b2NQWCtpOWxqeDNjNkk3cS85MkhhSklSb0hwTnZvZVFyZmJEUllwbG9UVnpCYVNTRzZxOXNJcmduOVc4aURtM3NtRFo3STlmWjJvSjlWTU5ITzg0VUg1NGhOTEZzME9SNFNhVWJRWjRJK3pGMFA4Q3UvcHBnWHdaYXZpa2FUNkx6Z3RNQjEzTFJEOHZoaHRvazc1c1UrYlRuUmdKcDg3ZEY4cjNtZlBLRTRBZjNYK0lPTXZJTzQ5dU8ybDdVS015bWJKT0tjTWYyRlBzclpiamdsNmtpeUZnRjlwVGJXUmdOMXdTUkFHRWloVjBMR0JlTE5YcmhxVHdoNzFHbDZ0YmFHZ1VLQXU1QnpkM1FqUTNMTnhYb3VKeDVGbnhNSkdkNXFSMXQybjRGL3pyZXRLR0ZTc0xHZ0JvbTJCNnAzQzE0cW1WTndIK0trY05HV1gxS09NRktadnFCSDR2YzBoWmRiUGZiWXFQNjcwWmZhaDZQRm1UbzNxc21pV1p5WDlabm1UWGQzanc1SGlrZXB1bDVDWXQvUis3elN2SVFDbm1DSVE5Z0d4YW1sa2hsSkZJb1h0MTFpck5BdDR0d0lZOW1Pa2RDVzNySWpXWmUwOUFhQmFSVUpaOFQ3WlhOQldNMkExeDIvMjZHeXdnNjdMYWdiQUhUSEFBUlhUVTdBMThRRmh1ekJMYWZ2YTJkNlg0cmFCdnU2WEpwcXlPOVZYcGNhNkZDd051S3lGZmo0eHV0ZE42NW8xRm5aRWpoQnNKNnNlSGFad1MzOHNkdWtER0xQTFN5Z3lmRERsZnZWWE5CZEJneVRlMDd2VmNPMjloK0g5eCswZUVJTS9CRkFweHc5RUh6K1JocGN6clc1JmZtL3JhRE1sc0NMTFlpMVErRGtPcllvTGdldz0=; _ir=0"
}
}).then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
const hasil = [];
$('div > a').get().map(b => {
const link = $(b).find('img').attr('src')
result.push(link)
});
result.forEach(v => {
if (v == undefined) return
hasil.push(v.replace(/236/g, '736'))
})
hasil.shift();
resolve(hasil)
})
})
}
exports.zerochan = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://www.zerochan.net/search?q=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const judul = [];
const result = [];
const id = [];
$('#thumbs2 > li > a > img').each(function(a, b) {
if (!$(b).attr('alt').startsWith('https://static.zerochan.net/')) {
judul.push($(b).attr('alt'))
}
})
$('#thumbs2 > li > a').each(function(a, b) {
id.push($(b).attr('href'))
})
for (let i = 0; i < judul.length; i++) {
result.push('https://s1.zerochan.net/' + judul[i].replace(/\ /g, '.') + '.600.' + id[i].split('/')[1] + '.jpg')
}
resolve({
creator: 'Fajar Ihsana',
result: result
})
})
.catch(reject)
})
}
exports.happymoddl = (link) => {
return new Promise((resolve, reject) => {
axios.get(link)
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const jlink = [];
const result = [];
const title = $('body > div > div.container-left > section:nth-child(1) > div > h1').text()
const info = $('body > div > div.container-left > section:nth-child(1) > div > ul').text()
$('body > div.container-row.clearfix.container-wrap.pdt-font-container > div.container-left > section:nth-child(1) > div > div:nth-child(3) > div > p > a').each(function(a, b) {
deta = $(b).text();
jlink.push(deta)
if ($(b).attr('href').startsWith('/')) {
link.push('https://happymod.com' + $(b).attr('href'))
} else {
link.push($(b).attr('href'))
}
})
for (let i = 0; i < link.length; i++) {
result.push({
title: jlink[i],
dl_link: link[i]
})
}
console.log(link)
resolve({
creator: 'Fajar Ihsana',
title: title,
info: info.replace(/\t|- /g, ''),
download: link
})
})
.catch(reject)
})
}
exports.goredl = async (link) => {
return new Promise(async (resolve, reject) => {
axios.get(link)
.then(({
data
}) => {
const $$ = cheerio.load(data)
const format = {
judul: $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > header > h1').text(),
views: $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > div.s-post-meta-block.bb-mb-el > div > div > div.col-r.d-table-cell.col-md-6.col-sm-6.text-right-sm > div > span > span.count').text(),
comment: $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > div.s-post-meta-block.bb-mb-el > div > div > div.col-r.d-table-cell.col-md-6.col-sm-6.text-right-sm > div > a > span.count').text(),
link: $$('video > source').attr('src')
}
const result = {
creator: 'Fajar Ihsana',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.chara = async (query) => {
return new Promise((resolve, reject) => {
axios.get(`https://www.anime-planet.com/characters/all?name=${query}&sort=likes&order=desc`)
.then((data) => {
const $ = cheerio.load(data.data)
const linkp = $('#siteContainer > table > tbody > tr:nth-child(1) > td.tableCharInfo > a').attr('href')
axios.get('https://www.anime-planet.com' + linkp)
.then((data) => {
//console.log(data.data)
const $$ = cheerio.load(data.data)
resolve({
nama: $$('#siteContainer > h1').text(),
gender: $$('#siteContainer > section.pure-g.entryBar > div:nth-child(1)').text().split('\nGender: ')[1],
warna_rambut: $$('#siteContainer > section.pure-g.entryBar > div:nth-child(2)').text().split('\nHair Color: ')[1],
warna_mata: $$('#siteContainer > section:nth-child(11) > div > div > div > div > div:nth-child(1) > div').text().split('\n')[1],
gol_darah: $$('#siteContainer > section:nth-child(11) > div > div > div > div > div:nth-child(2) > div').text().split('\n')[1],
birthday: $$('#siteContainer > section:nth-child(11) > div > div > div > div > div:nth-child(3) > div').text().split('\n')[1],
description: $$('#siteContainer > section:nth-child(11) > div > div > div > div:nth-child(1) > p').text()
})
})
})
.catch(reject)
})
}
exports.anime = async (query) => {
return new Promise((resolve, reject) => {
axios.get(`https://www.anime-planet.com/anime/all?name=${query}`)
.then((data) => {
const $ = cheerio.load(data.data)
const result = [];
const judul = [];
const link = [];
const thumb = [];
$('#siteContainer > ul.cardDeck.cardGrid > li > a > h3').each(function(a, b) {
deta = $(b).text();
judul.push(deta)
})
$('#siteContainer > ul.cardDeck.cardGrid > li > a').each(function(a, b) {
link.push('https://www.anime-planet.com' + $(b).attr('href'))
})
$('#siteContainer > ul.cardDeck.cardGrid > li > a > div.crop > img').each(function(a, b) {
thumb.push('https://www.anime-planet.com' + $(b).attr('src'))
})
for (let i = 0; i < judul.length; i++) {
result.push({
judul: judul[i],
thumb: thumb[i],
link: link[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.manga = async (query) => {
return new Promise((resolve, reject) => {
axios.get(`https://www.anime-planet.com/manga/all?name=${query}`)
.then((data) => {
const $ = cheerio.load(data.data)
const result = [];
const judul = [];
const link = [];
const thumb = [];
$('#siteContainer > ul.cardDeck.cardGrid > li > a > h3').each(function(a, b) {
deta = $(b).text();
judul.push(deta)
})
$('#siteContainer > ul.cardDeck.cardGrid > li > a').each(function(a, b) {
link.push('https://www.anime-planet.com' + $(b).attr('href'))
})
$('#siteContainer > ul.cardDeck.cardGrid > li > a > div.crop > img').each(function(a, b) {
thumb.push('https://www.anime-planet.com' + $(b).attr('src'))
})
for (let i = 0; i < judul.length; i++) {
result.push({
judul: judul[i],
thumb: thumb[i],
link: link[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.job = async (query) => {
return new Promise((resolve, reject) => {
axios.get(`https://www.jobstreet.co.id/id/job-search/${query}-jobs/`)
.then((data) => {
//console.log(data.data)
const $ = cheerio.load(data.data)
const job = [];
const perusahaan = [];
const daerah = [];
const format = [];
const link = [];
const upload = [];
$('#jobList > div > div:nth-child(3) > div > div > div > div > article > div > div > div > div > div > h1 > a > div').each(function(a, b) {
deta = $(b).text();
job.push(deta)
})
$('#jobList > div > div:nth-child(3) > div > div > div > div > article > div > div > div > div > div > span').each(function(a, b) {
deta = $(b).text();
perusahaan.push(deta)
})
$('#jobList > div > div:nth-child(3) > div > div > div > div > article > div > div > div > div > span > span').each(function(a, b) {
deta = $(b).text();
daerah.push(deta)
})
$('#jobList > div > div:nth-child(3) > div > div > div > div > article > div > div > div > div > div > h1 > a').each(function(a, b) {
link.push($(b).attr('href'))
})
$('#jobList > div > div:nth-child(3) > div > div > div > div > article > div > div > div.sx2jih0.zcydq852.zcydq842.zcydq872.zcydq862.zcydq82a.zcydq832.zcydq8d2.zcydq8cq > div.sx2jih0.zcydq832.zcydq8cq.zcydq8c6.zcydq882 > time > span').each(function(a, b) {
deta = $(b).text();
upload.push(deta)
})
for (let i = 0; i < job.length; i++) {
format.push({
job: job[i],
perusahaan: perusahaan[i],
daerah: daerah[i],
upload: upload[i],
link_Detail: 'https://www.jobstreet.co.id' + link[i]
})
}
resolve(format)
})
.catch(reject)
})
}
exports.anoboys = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://anoboy.media/?s=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const format = [];
const link = [];
const judul = [];
const thumb = [];
const uptime = [];
$('body > div.wrap > div.container > div.column-content > a > div > div.amvj > h3').each(function(a, b) {
jud = $(b).text();
judul.push(jud)
})
$('body > div.wrap > div.container > div.column-content > a > div > div.jamup').each(function(c, d) {
upt = $(d).text();
uptime.push(upt)
})
$('body > div.wrap > div.container > div.column-content > a > div > amp-img').each(function(e, f) {
thumb.push($(f).attr('src'))
})
$('body > div.wrap > div.container > div.column-content > a').each(function(g, h) {
link.push($(h).attr('href'))
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: judul[i],
thumb: thumb[i],
link: link[i]
})
}
const result = {
status: data.status,
creator: 'Fajar Ihsana',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.anoboydl = (query) => {
return new Promise((resolve, reject) => {
axios.get(query)
.then(({
data
}) => {
const $ = cheerio.load(data)
resolve({
judul: $('body > div.wrap > div.container > div.pagetitle > h1').text(),
uptime: $('body > div.wrap > div.container > div.pagetitle > div > div > span > time').text(),
direct_link: $('#tontonin > source').attr('src'),
mforu: {
SD: $('#colomb > p > span:nth-child(1) > a:nth-child(3)').attr('href'),
HD: $('#colomb > p > span:nth-child(1) > a:nth-child(5)').attr('href')
},
zippy: {
SD: $('#colomb > p > span:nth-child(3) > a:nth-child(3)').attr('href'),
HD: $('#colomb > p > span:nth-child(3) > a:nth-child(5)').attr('href')
},
mirror: {
SD: $('#colomb > p > span:nth-child(5) > a:nth-child(3)').attr('href'),
HD: $('#colomb > p > span:nth-child(5) > a:nth-child(5)').attr('href')
}
})
})
.catch(reject)
})
}
exports.film = async (query) => {
return new Promise((resolve, reject) => {
axios.get(`http://167.99.71.200/?s=${query}`)
.then((data) => {
const $ = cheerio.load(data.data)
const judul = [];
const genre = [];
const thumb = [];
const link = [];
const format = [];
$('div > div.item-article > header > h2 > a').each(function(a, b) {
deta = $(b).text();
judul.push(deta)
})
$('div > div.item-article > header > div.gmr-movie-on').each(function(a, b) {
deta = $(b).text();
genre.push(deta)
})
$('div > div.content-thumbnail.text-center > a > img').each(function(a, b) {
thumb.push($(b).attr('src'))
})
$('div > div.item-article > header > div.gmr-watch-movie > a').each(function(a, b) {
link.push($(b).attr('href'))
})
for (let i = 0; i < judul.length; i++) {
format.push({
judul: judul[i],
genre: genre[i],
thumb: thumb[i],
link_nonton: link[i]
})
}
if (format == '') {
resolve({
status: 'error'
})
} else {
resolve(format)
}
})
.catch(reject)
})
}
exports.webtoons = async (query) => {
return new Promise((resolve, reject) => {
axios.get(`https://www.webtoons.com/id/search?keyword=${query}`)
.then((data) => {
const $ = cheerio.load(data.data)
const judul = [];
const genre = [];
const author = [];
const link = [];
const likes = [];
const format = [];
$('#content > div > ul > li > a > div > p.subj').each(function(a, b) {
deta = $(b).text();
judul.push(deta)
})
$('div > ul > li > a > span').each(function(a, b) {
deta = $(b).text();
genre.push(deta)
})
$('div > ul > li > a > div > p.author').each(function(a, b) {
deta = $(b).text();
author.push(deta)
})
$('div > ul > li > a > div > p.grade_area > em').each(function(a, b) {
deta = $(b).text();
likes.push(deta)
})
$('#content > div > ul > li > a').each(function(a, b) {
link.push($(b).attr('href'))
})
for (let i = 0; i < judul.length; i++) {
format.push({
judul: judul[i],
genre: genre[i],
author: author[i],
likes: likes[i],
link: 'https://www.webtoons.com' + link[i]
})
}
if (likes == '') {
resolve({
status: `${query} tidak dapat ditemukan/error`
})
} else {
resolve(format)
}
})
.catch(reject)
})
}
exports.soundcloud = async (link) => {
return new Promise((resolve, reject) => {
const options = {
method: 'POST',
url: "https://www.klickaud.co/download.php",
headers: {
'content-type': 'application/x-www-form-urlencoded'
},
formData: {
'value': link,
'2311a6d881b099dc3820600739d52e64a1e6dcfe55097b5c7c649088c4e50c37': '710c08f2ba36bd969d1cbc68f59797421fcf90ca7cd398f78d67dfd8c3e554e3'
}
};
request(options, async function(error, response, body) {
console.log(body)
if (error) throw new Error(error);
const $ = cheerio.load(body)
resolve({
judul: $('#header > div > div > div.col-lg-8 > div > table > tbody > tr > td:nth-child(2)').text(),
download_count: $('#header > div > div > div.col-lg-8 > div > table > tbody > tr > td:nth-child(3)').text(),
thumb: $('#header > div > div > div.col-lg-8 > div > table > tbody > tr > td:nth-child(1) > img').attr('src'),
link: $('#dlMP3').attr('onclick').split(`downloadFile('`)[1].split(`',`)[0]
});
});
})
}
exports.igdl = async (link) => {
return new Promise((resolve, reject) => {
const options = {
method: 'POST',
url: "https://downloadgram.org/#downloadhere",
headers: {
'content-type': 'application/x-www-form-urlencoded'
},
formData: {
url: link,
submit: ''
}
};
request(options, async function(error, response, body) {
if (error) throw new Error(error);
const $ = cheerio.load(body)
const result = [];
$('#downloadBox > a').each(function(a, b) {
result.push($(b).attr('href'))
})
resolve(result);
});
})
}
exports.igstalk = async (username) => {
return new Promise(async (resolve, reject) => {
let {
data
} = await axios('https://www.instagram.com/' + username + '/?__a=1', {
'method': 'GET',
'headers': {
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36',
'cookie': 'isi sendiri cokie igeh'
}
})
let user = data.graphql.user
let json = {
creator: '"hardianto02_',
status: 'ok',
code: 200,
username: user.username,
fullname: user.full_name,
verified: user.is_verified,
video_count_reel: user.highlight_reel_count,
followers: user.edge_followed_by.count,
follow: user.edge_follow.count,
is_bussines: user.is_business_account,
is_professional: user.is_professional_account,
category: user.category_name,
thumbnail: user.profile_pic_url_hd,
bio: user.biography,
info_account: data.seo_category_infos
}
resolve(json)
})
}
exports.gempa = async () => {
return new Promise(async (resolve, reject) => {
axios.get('https://www.bmkg.go.id/gempabumi/gempabumi-dirasakan.bmkg')
.then(({
data
}) => {
const $ = cheerio.load(data)
const drasa = [];
$('table > tbody > tr:nth-child(1) > td:nth-child(6) > span').get().map((rest) => {
dir = $(rest).text();
drasa.push(dir.replace('\t', ' '))
})
teks = ''
for (let i = 0; i < drasa.length; i++) {
teks += drasa[i] + '\n'
}
const rasa = teks
const format = {
imagemap: $('div.modal-body > div > div:nth-child(1) > img').attr('src'),
magnitude: $('table > tbody > tr:nth-child(1) > td:nth-child(4)').text(),
kedalaman: $('table > tbody > tr:nth-child(1) > td:nth-child(5)').text(),
wilayah: $('table > tbody > tr:nth-child(1) > td:nth-child(6) > a').text(),
waktu: $('table > tbody > tr:nth-child(1) > td:nth-child(2)').text(),
lintang_bujur: $('table > tbody > tr:nth-child(1) > td:nth-child(3)').text(),
dirasakan: rasa
}
const result = {
creator: 'Fajar Ihsana',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.cariresep = async (query) => {
return new Promise(async (resolve, reject) => {
axios.get('https://resepkoki.id/?s=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const judul = [];
const upload_date = [];
const format = [];
const thumb = [];
$('body > div.all-wrapper.with-animations > div:nth-child(5) > div > div.archive-posts.masonry-grid-w.per-row-2 > div.masonry-grid > div > article > div > div.archive-item-media > a').each(function(a, b) {
link.push($(b).attr('href'))
})
$('body > div.all-wrapper.with-animations > div:nth-child(5) > div > div.archive-posts.masonry-grid-w.per-row-2 > div.masonry-grid > div > article > div > div.archive-item-content > header > h3 > a').each(function(c, d) {
jud = $(d).text();
judul.push(jud)
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: judul[i],
link: link[i]
})
}
const result = {
creator: 'Fajar Ihsana',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.bacaresep = async (query) => {
return new Promise(async (resolve, reject) => {
axios.get(query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const abahan = [];
const atakaran = [];
const atahap = [];
$('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-details > div > div.single-recipe-ingredients-nutritions > div > table > tbody > tr > td:nth-child(2) > span.ingredient-name').each(function(a, b) {
bh = $(b).text();
abahan.push(bh)
})
$('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-details > div > div.single-recipe-ingredients-nutritions > div > table > tbody > tr > td:nth-child(2) > span.ingredient-amount').each(function(c, d) {
uk = $(d).text();
atakaran.push(uk)
})
$('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-main > div.single-content > div.single-steps > table > tbody > tr > td.single-step-description > div > p').each(function(e, f) {
th = $(f).text();
atahap.push(th)
})
const judul = $('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-title.title-hide-in-desktop > h1').text();
const waktu = $('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-main > div.single-meta > ul > li.single-meta-cooking-time > span').text();
const hasil = $('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-main > div.single-meta > ul > li.single-meta-serves > span').text().split(': ')[1]
const level = $('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-main > div.single-meta > ul > li.single-meta-difficulty > span').text().split(': ')[1]
const thumb = $('body > div.all-wrapper.with-animations > div.single-panel.os-container > div.single-panel-details > div > div.single-main-media > img').attr('src')
tbahan = 'bahan\n'
for (let i = 0; i < abahan.length; i++) {
tbahan += abahan[i] + ' ' + atakaran[i] + '\n'
}
ttahap = 'tahap\n'
for (let i = 0; i < atahap.length; i++) {
ttahap += atahap[i] + '\n\n'
}
const tahap = ttahap
const bahan = tbahan
const result = {
creator: 'Fajar Ihsana',
data: {
judul: judul,
waktu_masak: waktu,
hasil: hasil,
tingkat_kesulitan: level,
thumb: thumb,
bahan: bahan.split('bahan\n')[1],
langkah_langkah: tahap.split('tahap\n')[1]
}
}
resolve(result)
})
.catch(reject)
})
}
exports.searchgore = async (query) => {
return new Promise(async (resolve, reject) => {
axios.get('https://seegore.com/?s=' + query).then(dataa => {
const $$$ = cheerio.load(dataa)
pagina = $$$('#main > div.container.main-container > div > div.bb-col.col-content > div > div > div > div > nav > ul > li:nth-child(4) > a').text();
rand = Math.floor(Math.random() * pagina) + 1
if (rand === 1) {
slink = 'https://seegore.com/?s=' + query
} else {
slink = `https://seegore.com/page/${rand}/?s=${query}`
}
axios.get(slink)
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const judul = [];
const uploader = [];
const format = [];
const thumb = [];
$('#post-items > li > article > div.content > header > h2 > a').each(function(a, b) {
link.push($(b).attr('href'))
})
$('#post-items > li > article > div.content > header > h2 > a').each(function(c, d) {
jud = $(d).text();
judul.push(jud)
})
$('#post-items > li > article > div.content > header > div > div.bb-cat-links > a').each(function(e, f) {
upl = $(f).text();
uploader.push(upl)
})
$('#post-items > li > article > div.post-thumbnail > a > div > img').each(function(g, h) {
thumb.push($(h).attr('src'))
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: judul[i],
uploader: uploader[i],
thumb: thumb[i],
link: link[i]
})
}
const result = {
creator: 'Fajar Ihsana',
data: format
}
resolve(result)
})
.catch(reject)
})
})
}
exports.randomgore = async () => {
return new Promise(async (resolve, reject) => {
rand = Math.floor(Math.random() * 218) + 1
randvid = Math.floor(Math.random() * 16) + 1
if (rand === 1) {
slink = 'https://seegore.com/gore/'
} else {
slink = `https://seegore.com/gore/page/${rand}/`
}
axios.get(slink)
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const result = [];
const username = [];
const linkp = $(`#post-items > li:nth-child(${randvid}) > article > div.post-thumbnail > a`).attr('href')
const thumbb = $(`#post-items > li:nth-child(${randvid}) > article > div.post-thumbnail > a > div > img`).attr('src')
axios.get(linkp)
.then(({
data
}) => {
const $$ = cheerio.load(data)
const format = {
judul: $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > header > h1').text(),
views: $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > div.s-post-meta-block.bb-mb-el > div > div > div.col-r.d-table-cell.col-md-6.col-sm-6.text-right-sm > div > span > span.count').text(),
comment: $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > div.s-post-meta-block.bb-mb-el > div > div > div.col-r.d-table-cell.col-md-6.col-sm-6.text-right-sm > div > a > span.count').text() == '' ? 'Tidak ada komentar' : $$('div.single-main-container > div > div.bb-col.col-content > div > div > div > div > div.s-post-meta-block.bb-mb-el > div > div > div.col-r.d-table-cell.col-md-6.col-sm-6.text-right-sm > div > a > span.count').text(),
thumb: thumbb,
link: $$('video > source').attr('src')
}
const result = {
creator: 'Fajar Ihsana',
data: format
}
resolve(result)
})
.catch(reject)
})
})
}
exports.textmakervid = async (text1, style) => {
if (style == 'poly') {
var tstyle = 0
} else if (style == 'bold') {
var tstyle = 1
} else if (style == 'glowing') {
var tstyle = 2
} else if (style == 'colorful') {
var tstyle = 3
} else if (style == 'army') {
var tstyle = 4
} else if (style == 'retro') {
var tstyle = 5
}
return new Promise((resolve, reject) => {
const options = {
method: 'POST',
url: "https://photooxy.com/other-design/make-a-video-that-spells-your-name-237.html",
headers: {
'content-type': 'application/x-www-form-urlencoded'
},
formData: {
optionNumber_0: tstyle,
text_1: text1,
login: 'OK'
}
};
request(options, async function(error, response, body) {
if (error) throw new Error(error);
const $ = cheerio.load(body)
const result = {
url: $('div.btn-group > a').attr('href')
}
resolve(result);
});
})
}
exports.apkmirror = async (query) => {
return new Promise((resolve, reject) => {
axios.get('https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const nama = [];
const developer = [];
const lupdate = [];
const size = [];
const down = [];
const version = [];
const link = [];
const format = [];
$('#content > div > div > div.appRow > div > div > div > h5 > a').each(function(a, b) {
nem = $(b).text();
nama.push(nem)
})
$('#content > div > div > div.appRow > div > div > div > a').each(function(c, d) {
dev = $(d).text();
developer.push(dev)
})
$('#content > div > div > div.appRow > div > div > div > div.downloadIconPositioning > a').each(function(e, f) {
link.push('https://www.apkmirror.com' + $(f).attr('href'))
})
$('#content > div > div > div.infoSlide > p > span.infoslide-value').each(function(g, h) {
data = $(h).text();
if (data.match('MB')) {
size.push(data)
} else if (data.match('UTC')) {
lupdate.push(data)
} else if (!isNaN(data) || data.match(',')) {
down.push(data)
} else {
version.push(data)
}
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: nama[i],
dev: developer[i],
size: size[i],
version: version[i],
uploaded_on: lupdate[i],
download_count: down[i],
link: link[i]
})
}
const result = {
creator: 'Hanya Orang Biasa',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.sfiledown = async (link) => {
return new Promise((resolve, reject) => {
axios.get(link)
.then(({
data
}) => {
const $ = cheerio.load(data)
const nama = $('body > div.w3-row-padding.w3-container.w3-white > div > div:nth-child(2) > b').text();
const size = $('#download').text().split('Download File')
const desc = $('body > div.w3-row-padding.w3-container.w3-white > div > div:nth-child(7) > center > h1').text();
const type = $('body > div.w3-row-padding.w3-container.w3-white > div > div:nth-child(4) > a:nth-child(3)').text();
const upload = $('body > div.w3-row-padding.w3-container.w3-white > div > div:nth-child(5)').text();
const uploader = $('body > div.w3-row-padding.w3-container.w3-white > div > div:nth-child(4) > a:nth-child(2)').text();
const download = $('body > div.w3-row-padding.w3-container.w3-white > div > div:nth-child(6)').text();
const link = $('#download').attr('href')
other = link.split('/')[7].split('&is')[0]
const format = {
judul: nama + other.substr(other.length - 6).split('.')[1],
size: size[1].split('(')[1].split(')')[0],
type: type,
mime: other.substr(other.length - 6).split('.')[1],
desc: desc,
uploader: uploader,
uploaded: upload.split('\n - Uploaded: ')[1],
download_count: download.split(' - Downloads: ')[1],
link: link
}
const result = {
creator: 'Hanya Orang Biasa',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.zippydl = async (link) => {
return new Promise(async (resolve, reject) => {
axios.get(link)
.then(({
data
}) => {
const $ = cheerio.load(data)
const nama = $('#lrbox > div:nth-child(2) > div:nth-child(1) > font:nth-child(4)').text();
const size = $('#lrbox > div:nth-child(2) > div:nth-child(1) > font:nth-child(7)').text();
const upload = $('#lrbox > div:nth-child(2) > div:nth-child(1) > font:nth-child(10)').text();
const getlink = async (u) => {
console.log('⏳ ' + `Get Page From : ${u}`)
const zippy = await axios({
method: 'GET',
url: u
}).then(res => res.data).catch(err => false)
console.log('Done')
const $ = cheerio.load(zippy)
if (!$('#dlbutton').length) {
return {
error: true,
message: $('#lrbox>div').first().text().trim()
}
}
console.log('⏳ ' + 'Fetch Link Download...')
const url = _url.parse($('.flagen').attr('href'), true)
const urlori = _url.parse(u)
const key = url.query['key']
let time;
let dlurl;
try {
time = /var b = ([0-9]+);$/gm.exec($('#dlbutton').next().html())[1]
dlurl = urlori.protocol + '//' + urlori.hostname + '/d/' + key + '/' + (2 + 2 * 2 + parseInt(time)) + '3/DOWNLOAD'
} catch (error) {
time = _math.evaluate(/ \+ \((.*)\) \+ /gm.exec($('#dlbutton').next().html())[1])
dlurl = urlori.protocol + '//' + urlori.hostname + '/d/' + key + '/' + (time) + '/DOWNLOAD'
}
console.log('Done')
return dlurl
}
getlink(link).then(res => {
//_(timet)
var result = {
creator: 'Hanya Orang Biasa',
data: {
Judul: nama,
size: size,
uploaded: upload,
link: res
}
}
resolve(result)
})
})
.catch(reject)
})
}
exports.android1 = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://an1.com/tags/MOD/?story=' + query + '&do=search&subaction=search')
.then(({
data
}) => {
const $ = cheerio.load(data)
const nama = [];
const link = [];
const rating = [];
const thumb = [];
const developer = [];
const format = [];
$('body > div.page > div > div > div.app_list > div > div > div.cont > div.data > div.name > a > span').each(function(a, b) {
nem = $(b).text();
nama.push(nem)
})
$('div > ul > li.current-rating').each(function(c, d) {
rat = $(d).text();
rating.push(rat)
})
$('body > div.page > div > div > div.app_list > div > div > div.cont > div.data > div.developer.xsmf.muted').each(function(e, f) {
dev = $(f).text();
developer.push(dev)
})
$('body > div.page > div > div > div.app_list > div > div > div.img > img').each(function(g, h) {
thumb.push($(h).attr('src'))
})
$('body > div.page > div > div > div.app_list > div > div > div.cont > div.data > div.name > a').each(function(i, j) {
link.push($(j).attr('href'))
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: nama[i],
dev: developer[i],
rating: rating[i],
thumb: thumb[i],
link: link[i]
})
}
const result = {
creator: 'Hanya Orang Biasa',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.apkmody = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://apkmody.io/?s=' + query)
.then(({
data
}) => {
//console.log(data)
const $ = cheerio.load(data)
const nama = [];
const link = [];
const mod = [];
const thumb = [];
const format = [];
$('#primary > section:nth-child(3) > div > div > div > article > a > div > div > div > h2').each(function(a, b) {
nem = $(b).text();
nama.push(nem)
})
$('#primary > section:nth-child(3) > div > div > div > article > a > div > div > p').each(function(c, d) {
modd = $(d).text();
mod.push(modd.split('\n')[1])
})
$('#primary > section:nth-child(3) > div > div > div > article > a > div > img').each(function(e, f) {
thumb.push($(f).attr('src'))
})
$('#primary > section:nth-child(3) > div > div > div > article > a').each(function(g, h) {
link.push($(h).attr('href'))
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: nama[i],
infomod: mod[i],
thumb: thumb[i],
link: link[i]
})
}
const result = {
creator: 'Hanya Orang Biasa',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.happymod = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://www.happymod.com/search.html?q=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const nama = [];
const link = [];
const rating = [];
const thumb = [];
const format = [];
$('body > div.container-row.clearfix.container-wrap > div.container-left > section > div > div > h3 > a').each(function(a, b) {
nem = $(b).text();
nama.push(nem)
link.push('https://happymod.com' + $(b).attr('href'))
})
$('body > div.container-row.clearfix.container-wrap > div.container-left > section > div > div > div.clearfix > span').each(function(c, d) {
rat = $(d).text();
rating.push(rat)
})
$('body > div.container-row.clearfix.container-wrap > div.container-left > section > div > a > img').each(function(e, f) {
thumb.push($(f).attr('data-original'))
})
for (let i = 0; i < link.length; i++) {
format.push({
judul: nama[i],
thumb: thumb[i],
rating: rating[i],
link: link[i]
})
}
const result = {
creator: 'Hanya Orang Biasa',
data: format
}
resolve(result)
})
.catch(reject)
})
}
exports.ghuser = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://github.com/search?q=' + query + '&type=users')
.then(({
data
}) => {
const $ = cheerio.load(data)
const username = [];
const link = [];
const result = [];
const thumb = [];
$('#user_search_results > div > div > div.flex-auto > div > div.f4.text-normal > a.color-text-secondary').each(function(a, b) {
link.push('https://github.com/' + $(b).attr('href'))
usr = $(b).text();
username.push(usr)
})
$('#user_search_results > div > div > div.flex-shrink-0.mr-2 > a > img').each(function(c, d) {
thumb.push($(d).attr('src').replace('s=40&', ''))
})
for (let i = 0; i < link.length; i++) {
result.push({
name: username[i],
thumb: thumb[i],
link: link[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.ghfollower = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://github.com/' + query + '?tab=followers')
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const result = [];
const username = [];
$('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-9.mb-4.mb-md-0 > div > div > div > div.d-table-cell.col-9.v-align-top.pr-3 > a').each(function(a, b) {
link.push('https://github.com/' + $(b).attr('href'))
username.push($(b).attr('href').split('/')[1])
})
for (let i = 0; i < link.length; i++) {
result.push({
username: username[i],
link: link[i]
})
}
const hasil = {
username: $('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-3.mb-4.mb-md-0 > div > div.js-profile-editable-replace > div.clearfix.d-flex.d-md-block.flex-items-center.mb-4.mb-md-0 > div.vcard-names-container.float-left.js-profile-editable-names.col-12.py-3.js-sticky.js-user-profile-sticky-fields > h1 > span.p-nickname.vcard-username.d-block').text().split('\n')[1].replace(' ', ''),
followers: $('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-3.mb-4.mb-md-0 > div > div.js-profile-editable-replace > div.d-flex.flex-column > div.js-profile-editable-area.d-flex.flex-column.d-md-block > div.flex-order-1.flex-md-order-none.mt-2.mt-md-0 > div > a:nth-child(1) > span').text(),
avatar: $('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-3.mb-4.mb-md-0 > div > div.js-profile-editable-replace > div.clearfix.d-flex.d-md-block.flex-items-center.mb-4.mb-md-0 > div.position-relative.d-inline-block.col-2.col-md-12.mr-3.mr-md-0.flex-shrink-0 > a > img').attr('src'),
listfollowers: result
}
resolve(hasil)
})
.catch(reject)
})
}
exports.ghfollowing = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://github.com/' + query + '?tab=following')
.then(({
data
}) => {
const $ = cheerio.load(data)
const link = [];
const result = [];
const username = [];
$('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-9.mb-4.mb-md-0 > div > div > div > div.d-table-cell.col-9.v-align-top.pr-3 > a').each(function(a, b) {
link.push('https://github.com/' + $(b).attr('href'))
username.push($(b).attr('href').split('/')[1])
})
for (let i = 0; i < link.length; i++) {
result.push({
username: username[i],
link: link[i]
})
}
const hasil = {
username: $('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-3.mb-4.mb-md-0 > div > div.js-profile-editable-replace > div.clearfix.d-flex.d-md-block.flex-items-center.mb-4.mb-md-0 > div.vcard-names-container.float-left.js-profile-editable-names.col-12.py-3.js-sticky.js-user-profile-sticky-fields > h1 > span.p-nickname.vcard-username.d-block').text().split('\n')[1].replace(' ', ''),
following: $('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-3.mb-4.mb-md-0 > div > div.js-profile-editable-replace > div.d-flex.flex-column > div.js-profile-editable-area.d-flex.flex-column.d-md-block > div.flex-order-1.flex-md-order-none.mt-2.mt-md-0 > div > a:nth-child(1) > span').text(),
avatar: $('#js-pjax-container > div.container-xl.px-3.px-md-4.px-lg-5 > div > div.flex-shrink-0.col-12.col-md-3.mb-4.mb-md-0 > div > div.js-profile-editable-replace > div.clearfix.d-flex.d-md-block.flex-items-center.mb-4.mb-md-0 > div.position-relative.d-inline-block.col-2.col-md-12.mr-3.mr-md-0.flex-shrink-0 > a > img').attr('src'),
listfollowing: result
}
resolve(hasil)
})
.catch(reject)
})
}
exports.corona = async (country) => {
if (!country) return loghandler.noinput;
try {
const res = await axios.request(`https://www.worldometers.info/coronavirus/country/` + country, {
method: "GET",
headers: {
"User-Agent": "Mozilla/5.0 (Linux; Android 9; Redmi 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36"
}
});
let result = {};
const $ = cheerio.load(res.data);
result.status = res.status
result.negara = $("div").find("h1").text().slice(3).split(/ /g)[0];
result.total_kasus = $("div#maincounter-wrap").find("div.maincounter-number > span").eq(0).text() + " total";
result.total_kematian = $("div#maincounter-wrap").find("div.maincounter-number > span").eq(1).text() + " total";
result.total_sembuh = $("div#maincounter-wrap").find("div.maincounter-number > span").eq(2).text() + " total";
result.informasi = $("div.content-inner > div").eq(1).text();
result.informasi_lengkap = "https://www.worldometers.info/coronavirus/country/" + country;
if (result.negara == '') {
result.status = 'error'
}
return result;
} catch (error404) {
return "=> Error => " + error404;
}
};
exports.mangatoon = async (search) => {
if (!search) return "No Querry Input! Bakaa >\/\/<";
try {
const res = await axios.get(`https://mangatoon.mobi/en/search?word=${search}`, {
method: "GET",
headers: {
"User-Agent": "Mozilla/5.0 (Linux; Android 9; Redmi 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Mobile Safari/537.36"
}
});
const hasil = [];
const $ = cheerio.load(res.data);
$('div.recommend-item').each(function(a, b) {
let comic_name = $(b).find('div.recommend-comics-title > span').text();
let comic_type = $(b).find('div.comics-type > span').text().slice(1).split(/ /g).join("");
let comic_url = $(b).find('a').attr('href');
let comic_thumb = $(b).find('img').attr('src');
const result = {
status: res.status,
creator: "@dehan_j1ng",
comic_name,
comic_type,
comic_url: 'https://mangatoon.mobi' + comic_url,
comic_thumb
};
hasil.push(result);
});
let filt = hasil.filter(v => v.comic_name !== undefined && v.comic_type !== undefined);
return filt;
} catch (eror404) {
return "=> Error =>" + eror404;
}
}
exports.palingmurah = async (produk) => {
if (!produk) {
return new TypeError("No Querry Input! Bakaaa >\/\/<")
}
try {
const res = await axios.get(`https://palingmurah.net/pencarian-produk/?term=` + produk)
const hasil = []
const $ = cheerio.load(res.data)
$('div.ui.card.wpj-card-style-2 ').each(function(a, b) {
let url = $(b).find('a.image').attr('href')
let img = $(b).find('img.my_image.lazyload').attr('data-src')
let title = $(b).find('a.list-header').text().trim()
let product_desc = $(b).find('div.description.visible-on-list').text().trim()
let price = $(b).find('div.flex-master.card-job-price.text-right.text-vertical-center').text().trim()
const result = {
status: res.status,
creator: "@dehan_j1ng",
product: title,
product_desc: product_desc,
product_image: img,
product_url: url,
price
}
hasil.push(result)
})
return hasil
} catch (error404) {
return new Error("=> Error =>" + error404)
}
}
exports.mediafire = (query) => {
return new Promise((resolve, reject) => {
axios.get(query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const judul = $('body > div.mf-dlr.page.ads-alternate > div.content > div.center > div > div.dl-btn-cont > div.dl-btn-labelWrap > div.promoDownloadName.notranslate > div').text();
const size = $('body > div.mf-dlr.page.ads-alternate > div.content > div.center > div > div.dl-info > ul > li:nth-child(1) > span').text();
const upload_date = $('body > div.mf-dlr.page.ads-alternate > div.content > div.center > div > div.dl-info > ul > li:nth-child(2) > span').text();
const link = $('#downloadButton').attr('href')
const hsil = {
judul: link.split('/')[5],
upload_date: upload_date,
size: size,
mime: link.split('/')[5].split('.')[1],
link: link
}
resolve(hsil)
})
.catch(reject)
})
}
exports.artinama = (query) => {
return new Promise((resolve, reject) => {
queryy = query.replace(/ /g, '+')
axios.get('https://www.primbon.com/arti_nama.php?nama1=' + query + '&proses=+Submit%21+')
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = $('#body').text();
const result2 = result.split('\n \n \n \n')[0]
const result4 = result2.split('ARTI NAMA')[1]
const result5 = result4.split('.\n\n')
const result6 = result5[0] + '\n\n' + result5[1]
resolve(result6)
})
.catch(reject)
})
}
exports.drakor = (query) => {
return new Promise((resolve, reject) => {
queryy = query.replace(/ /g, '+')
axios.get('https://drakorasia.net/?s=' + queryy + '&post_type=post')
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
const link = [];
const judul = [];
const thumb = [];
$('#post > div > div.thumbnail > a').each(function(a, b) {
link.push($(b).attr('href'))
thumb.push($(b).find('img').attr('src'))
})
$('#post > div > div.title.text-center.absolute.bottom-0.w-full.py-2.pb-4.px-3 > a > h2').each(function(c, d) {
titel = $(d).text();
judul.push(titel)
})
for (let i = 0; i < link.length; i++) {
result.push({
judul: judul[i],
thumb: thumb[i],
link: link[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.wattpad = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://www.wattpad.com/search/' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
const linkk = [];
const judull = [];
const thumb = [];
const dibaca = [];
const vote = [];
const bab = [];
$('ul.list-group > li.list-group-item').each(function(a, b) {
linkk.push('https://www.wattpad.com' + $(b).find('a').attr('href'))
thumb.push($(b).find('img').attr('src'))
})
$('div.story-card-data.hidden-xxs > div.story-info > ul > li:nth-child(1) > div.icon-container > div > span.stats-value').each(function(e, f) {
baca = $(f).text();
dibaca.push(baca)
})
$('div.story-card-data.hidden-xxs > div.story-info > ul > li:nth-child(2) > div.icon-container > div > span.stats-value').each(function(g, h) {
vot = $(h).text();
vote.push(vot)
})
$('div.story-card-data.hidden-xxs > div.story-info > ul > li:nth-child(3) > div.icon-container > div > span.stats-value').each(function(i, j) {
bb = $(j).text();
bab.push(bb)
})
$('div.story-card-data.hidden-xxs > div.story-info > div.title').each(function(c, d) {
titel = $(d).text();
judull.push(titel)
})
for (let i = 0; i < linkk.length; i++) {
if (!judull[i] == '') {
result.push({
judul: judull[i],
dibaca: dibaca[i],
divote: vote[i],
thumb: thumb[i],
link: linkk[i]
})
}
}
resolve(result)
})
.catch(reject)
})
}
exports.dewabatch = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://dewabatch.com/?s=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
const linkk = [];
const judull = [];
const thumb = [];
const rating = [];
$('div.thumb > a').each(function(a, b) {
linkk.push($(b).attr('href'))
judull.push($(b).attr('title'))
thumb.push($(b).find('img').attr('src').split('?resize')[0])
})
$('#content > div.postbody > div > div > ul > li > div.dtl > div.footer-content-post.fotdesktoppost > div.contentleft > span:nth-child(1) > rating > ratingval > ratingvalue').each(function(c, d) {
rate = $(d).text();
rating.push(rate.split(' ')[0])
})
for (let i = 0; i < linkk.length; i++) {
result.push({
judul: judull[i],
rating: rating[i],
thumb: thumb[i],
link: linkk[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.kiryu = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://kiryuu.id/?s=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
const linkk = [];
const judull = [];
const thumb = [];
const rating = [];
$('div.bsx > a').each(function(a, b) {
linkk.push($(b).attr('href'))
judull.push($(b).attr('title'))
thumb.push($(b).find('img').attr('src').split('?resize')[0])
})
$('div.rating > div.numscore').each(function(c, d) {
rate = $(d).text();
rating.push(rate)
})
for (let i = 0; i < linkk.length; i++) {
result.push({
judul: judull[i],
rating: rating[i],
thumb: thumb[i],
link: linkk[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.sfilesearch = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://sfile.mobi/search.php?q=' + query + '&search=Search')
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
const link = [];
const neme = [];
const size = [];
$('div.w3-card.white > div.list > a').each(function(a, b) {
link.push($(b).attr('href'))
})
$('div.w3-card.white > div.list > a').each(function(c, d) {
name = $(d).text();
neme.push(name)
})
$('div.w3-card.white > div.list').each(function(e, f) {
siz = $(f).text();
//sz = siz.
size.push(siz.split('(')[1])
})
for (let i = 0; i < link.length; i++) {
result.push({
nama: neme[i],
size: size[i].split(')')[0],
link: link[i]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.carigc = (nama) => {
return new Promise((resolve, reject) => {
axios.get('http://ngarang.com/link-grup-wa/daftar-link-grup-wa.php?search=' + nama + '&searchby=name')
.then(({
data
}) => {
const $ = cheerio.load(data);
const result = [];
const lnk = [];
const nm = [];
$('div.wa-chat-title-container').each(function(a, b) {
const limk = $(b).find('a').attr('href');
lnk.push(limk)
})
$('div.wa-chat-title-text').each(function(c, d) {
const name = $(d).text();
nm.push(name)
})
for (let i = 0; i < lnk.length; i++) {
result.push({
nama: nm[i].split('. ')[1],
link: lnk[i].split('?')[0]
})
}
resolve(result)
})
.catch(reject)
})
}
exports.wikisearch = async (query) => {
const res = await axios.get(`https://id.m.wikipedia.org/w/index.php?search=${query}`)
const $ = cheerio.load(res.data)
const hasil = []
let wiki = $('#mf-section-0').find('p').text()
let thumb = $('#mf-section-0').find('div > div > a > img').attr('src')
thumb = thumb ? thumb : '//pngimg.com/uploads/wikipedia/wikipedia_PNG35.png'
thumb = 'https:' + thumb
let judul = $('h1#section_0').text()
hasil.push({
wiki,
thumb,
judul
})
return hasil
}
exports.devianart = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://www.deviantart.com/search?q=' + query)
.then(({
data
}) => {
const $$ = cheerio.load(data)
no = ''
$$('#root > div.hs1JI > div > div._3WsM9 > div > div > div:nth-child(3) > div > div > div:nth-child(1) > div > div:nth-child(1) > div > section > a').each(function(c, d) {
no = $$(d).attr('href')
})
axios.get(no)
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
$('#root > main > div > div._2QovI > div._2rKEX._17aAh._1bdC8 > div > div._2HK_1 > div._1lkTS > div > img').each(function(a, b) {
result.push($(b).attr('src'))
})
resolve(result)
})
})
.catch(reject)
})
}
exports.konachan = (chara) => {
return new Promise((resolve, reject) => {
let text = chara.replace(' ', '_')
axios.get('https://konachan.net/post?tags=' + text + '+')
.then(({
data
}) => {
const $$ = cheerio.load(data)
const no = [];
$$('div.pagination > a').each(function(c, d) {
no.push($$(d).text())
})
let mat = Math.floor(Math.random() * no.length)
axios.get('https://konachan.net/post?page=' + mat + '&tags=' + text + '+')
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
$('#post-list > div.content > div:nth-child(4) > ul > li > a.directlink.largeimg').each(function(a, b) {
result.push($(b).attr('href'))
})
resolve(result)
})
})
.catch(reject)
})
}
exports.wallpapercave = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://wallpapercave.com/search?q=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
$('div.imgrow > a').each(function(a, b) {
if (!$(b).find('img').attr('src').includes('.gif')) {
result.push('https://wallpapercave.com/' + $(b).find('img').attr('src').replace('fuwp', 'uwp'))
}
})
resolve(result)
})
.catch(reject)
})
}
exports.wallpapercraft = (query) => {
return new Promise((resolve, reject) => {
axios.get('https://wallpaperscraft.com/search/?query=' + query)
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
$('span.wallpapers__canvas').each(function(a, b) {
result.push($(b).find('img').attr('src'))
})
resolve(result)
})
.catch(reject)
})
}
exports.wallpaperhd = (chara) => {
return new Promise((resolve, reject) => {
axios.get('https://wall.alphacoders.com/search.php?search=' + chara + '&filter=4K+Ultra+HD')
.then(({
data
}) => {
const $ = cheerio.load(data)
const result = [];
$('div.boxgrid > a > picture').each(function(a, b) {
result.push($(b).find('img').attr('src').replace('thumbbig-', ''))
})
resolve(result)
})
.catch(reject)
})
}
================================================
FILE: Zimbot/index2.js
================================================
// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈
//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED
//▮
//▮FORK AND DON'T FORGET TO GIVE A STAR
//▮
//▮ZimBotInc SOFTWARE IS UNDER UZ COPYRIGHT
//▮
//▮REPORT ABUSE OF ZimBotInc SOFTWARE EMAIL US
//▮reinhardtuna@mail.uk
//▮WHATSAPP US : +44 7441 437150
//▮YOUTUBE CHANNELL: https://youtube.com/c/DRIPSOFC
//▮
//╰▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
//
//┏━━━━━━━━━━━━━━━━━━━━━━━━━
//┃ZimBotInc SOFTWARE INCLUDES
//┃SOME ENCRYPTED FILES
//┃
//┃THANKS FOR CHOOSING ZIMBOT
//┃THANKS TO DIKA ARDNT
//┗━━━━━━━━━━━━━━━━━━━━━━━━━
//
const axios = require('axios');
const cheerio = require('cheerio');
const fs = require('fs');
const { spawn, exec } = require("child_process");
const yt = require("yt-search");
const FormData = require("form-data");
const got = require("got")
const print = (message) => {
return console.log(message)
}
async function ManggaToon(judul) {
try {
const link = await axios.get(`https://mangatoon.mobi/id/search?word=${judul}`)
const c = cheerio.load(link.data)
let id = c('#page-content').find('div.search-page > div > div.comics-result > div.recommended-wrap > div > div > a').attr('href') || 'undefined'
if(id === 'undefined') {
const link2 = await axios.get(`https://mangatoon.mobi/en/search?word=${judul}`)
const C = cheerio.load(link2.data)
let id2 = C('#page-content').find('div.search-page > div > div.comics-result > div.recommended-wrap > div > div:nth-child(1) > a').attr('href')
const data = await axios.get(`https://mangatoon.mobi${id2}`)
const $ = cheerio.load(data.data)
var judul = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-title-bg > span').text().trim()
var genre = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-tags-info > span').text().trim()
var author = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-author-name > span').text().trim()
var thumb = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-img > img.big-img').attr('src');
var LinkKe = $('#page-content').find('div.detail-wrap > div.detail-interact > a').attr('href')
var Link = `https://mangatoon.mobi${LinkKe}`
let Author = author.replace('Nama Author: ', '');
let hasil = {
judul, thumb, genre, Author, Link
}
return hasil
} else {
const data = await axios.get(`https://mangatoon.mobi${id}`)
const $ = cheerio.load(data.data)
var judul = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-title-bg > span').text().trim()
var genre = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-tags-info > span').text().trim()
var author = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-author-name > span').text().trim()
var thumb = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-img > img.big-img').attr('src');
var LinkKe = $('#page-content').find('div.detail-wrap > div.detail-interact > a').attr('href')
var Link = `https://mangatoon.mobi${LinkKe}`
let Author = author.replace('Nama Author: ', '');
let hasil = {
judul, thumb, genre, Author, Link
}
return hasil
}
} catch (err) {
return `Not Found 404`
}
}
async function emoji(emoticon) {
const emojii = encodeURI(`${emoticon}`)
const link = await axios.get(`https://emojipedia.org/${emojii}/`)
const $ = cheerio.load(link.data)
var apple = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(1) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var google = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(2) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var samsung = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(3) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var microsoft = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(4) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var whatsapp = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(5) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var twitter = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(6) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var facebook = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(7) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var jooxpixel = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(8) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var openmoji = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(9) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var emojidex = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(10) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var messager = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(11) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var LG = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(12) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var HTC = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(13) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var mozilla = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(14) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var softbank = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(15) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var docomo = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(16) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var KDDI = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(17) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
const result = {
apple: apple.replace('120', '240'),
google: google.replace('120', '240'),
samsung: samsung.replace('120', '240'),
microsoft: microsoft.replace('120', '240'),
whatsapp: whatsapp.replace('120', '240'),
twitter: twitter.replace('120', '240'),
facebook: facebook.replace('120', '240'),
jooxPixel: jooxpixel.replace('120', '240'),
openemoji: openmoji.replace('120', '240'),
emojidex: emojidex.replace('120', '240'),
messanger: messager.replace('120', '240'),
LG: LG.replace('120', '240'),
HTC: HTC.replace('120', '240'),
mozilla: mozilla.replace('120', '240'),
softbank: softbank.replace('120', '240'),
docomo: docomo.replace('120', '240'),
KDDI: KDDI.replace('120', '240')
}
return result
}
async function RandomCerpen() {
try{
const link = await axios.get(`http://cerpenmu.com/`)
const c = cheerio.load(link.data)
let kumpulan = []
c('#sidebar > div').each(function (real, ra) {
c(ra).find('ul > li').each(function (i, rayy) {
let random = c(rayy).find('a').attr('href')
kumpulan.push(random)
})
})
var acak = kumpulan[Math.floor(Math.random() * (kumpulan.length))]
let Otw = await axios.get(`${acak}`)
const C = cheerio.load(Otw.data)
let otw = []
C('#content > article > article').each(function (a, b) {
let random = C(b).find('h2 > a').attr('href')
otw.push(random)
})
var Acak = otw[Math.floor(Math.random() * (otw.length))]
let Link = await axios.get(`${Acak}`)
let $ = cheerio.load(Link.data)
let judul = $('#content').find('article > h1').text().trim()
let karangan = $('#content').find('article > a:nth-child(2)').text().trim()
let Isi = []
$('#content > article > p').each(function (wm, Ra) {
let isi = $(Ra).text().trim()
Isi.push(isi)
})
let cerita = []
for (let i of Isi) {
cerita += i
}
const data = {
status: 200,
author: 'RA BOT',
result: {
Judul: judul,
Penulis: karangan,
sumber: Acak,
cerita: cerita
}
}
return data
} catch (err) {
const res404 = {
status: 500,
author: 'RA BOT',
Pesan: 'Udah Ga work?:/ cp: 082149344210'
}
return res404
}
}
async function stickerSearch(querry) {
const link = await axios.get(`https://getstickerpack.com/stickers?query=${querry}`);
const $ = cheerio.load(link.data)
let sticker1 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > img').attr('src'),
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > span.title').text().trim(),
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > span.username').text().trim()
}
let sticker2 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > span.username').text().trim()
}
let sticker3 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > span.username').text().trim()
}
let sticker4 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > span.username').text().trim()
}
let sticker5 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > span.username').text().trim()
}
let sticker6 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > span.username').text().trim()
}
let sticker7 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > span.username').text().trim()
}
let sticker8 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > span.username').text().trim()
}
let sticker9 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > span.username').text().trim()
}
let sticker10 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > span.username').text().trim()
}
let sticker11 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > span.username').text().trim()
}
let sticker12 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > span.username').text().trim()
}
let stickerlop = [
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > img').attr('src')
]
let data = {
sticker: stickerlop, sticker1, sticker2, sticker3, sticker4, sticker5, sticker6, sticker7, sticker8, sticker9, sticker10, sticker11, sticker12
}
return data
}
async function RamalJadian(tanggal, bulan, tahun) {
if(isNaN(tanggal) && isNaN(bulan) && isNaN(tahun)) return `Tanggal bulan tahun harus berupa angka`
const link = await axios.get(`https://www.primbon.com/tanggal_jadian_pernikahan.php?tgl=${tanggal}&bln=${bulan}&thn=${tahun}&proses=+Submit%21+`)
const $ = cheerio.load(link.data)
let tanggall = $('#body').text().trim()
let a = tanggall.replace('MAKNA TANGGAL JADIAN, PERNIKAHAN', '').replace('Karakteristik:', '\nKarakteristik : ').replace('< Hitung Kembali', '')
return a
}
async function igDownloader(Link) {
const hasil = []
const Form = {
url: Link,
submit: ""
}
await axios(`https://downloadgram.org/`, {
method: "POST",
data: new URLSearchParams(Object.entries(Form)),
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"content-type": "application/x-www-form-urlencoded",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.1695343126.1621491858; _gid=GA1.2.28178724.1621491859; __gads=ID=8f9d3ef930e9a07b-2258e672bec80081:T=1621491859:RT=1621491859:S=ALNI_MbqLxhztDiYZttJFX2SkvYei6uGOw; __atuvc=3%7C20; __atuvs=60a6eb107a17dd75000; __atssc=google%3B2; _gat_gtag_UA_142480840_1=1"
},
referrerPolicy: "strict-origin-when-cross-origin",
}).then(async res => {
const $ = cheerio.load(res.data)
let url = $('#downloadBox').find('a').attr('href');
await axios(Link, {
method: "GET",
data: null,
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "ig_did=08A3C465-7D43-4D8A-806A-88F98384E63B; ig_nrcb=1; mid=X_ipMwALAAFgQ7AftbrkhIDIdXJ8; fbm_124024574287414=base_domain=.instagram.com; shbid=17905; ds_user_id=14221286336; csrftoken=fXHAj5U3mcJihQEyVXfyCzcg46lHx7QD; sessionid=14221286336%3A5n4czHpQ0GRzlq%3A28; shbts=1621491639.7673564; rur=FTW"
},
referrerPolicy: "strict-origin-when-cross-origin"
}).then(respon => {
const ch = cheerio.load(respon.data)
let title = ch('title').text().trim()
const result = {
author: "RA BOT",
result: {
link: url,
desc: title,
LinkAwal: Link
}
}
hasil.push(result)
})
})
return hasil[0]
}
function Pantun() {
const pantun = fs.readFileSync('./database/pantun.json')
const data = JSON.parse(pantun)
const acak = data[Math.floor(Math.random() * (data.length))]
return acak
}
function trutdare(querry) {
const trdr = fs.readFileSync('./database/truthdare.json') // tempat simpen file lu
const result = JSON.parse(trdr)
if(querry === 'truth id') {
let res = result.Truth.id[Math.floor(Math.random() * result.Truth.id.length)]
return res
} else if (querry === 'truth eng') {
let res = result.Truth.eng[Math.floor(Math.random() * result.Truth.eng.length)]
return res
} else if(querry === 'dare id') {
let res = result.Dare.id[Math.floor(Math.random() * result.Dare.id.length)]
return res
} else if(querry === 'dare eng') {
let res = result.Dare.eng[Math.floor(Math.random() * result.Dare.eng.length)]
return res
} else {
return `Querry tidak terdaftar dimenu harap masukkan dengan benar.\n\ncara pakai :\n1. trutdare('truth id')\n2. trutdare('truth eng')\n3. trutdare('dare id')\n4. trutdare('dare eng')`
}
}
async function SearchFilm(querry) {
const link = await axios.get(`https://123movies.mom/search/?keyword=${querry}`)
const $ = cheerio.load(link.data)
let hasil = []
let result = []
$('#main').each(function (a, b) {
$(b).find('div').each(function (c, d) {
let url = $(d).find('a').attr('href')
let img = $(d).find('a > img').attr('src')
let judul = $(d).find('a > img').attr('alt')
let data = {
judul: judul,
thumb: img,
url: url
}
result.push(data)
})
for (let i = 29; i < result.length; i++) {
hasil.push(result[i])
}
})
return hasil
}
function FaktaUnik() {
const fakta = fs.readFileSync('./database/faktaunik.json')
const data = JSON.parse(fakta)
const acak = data[Math.floor(Math.random() * (data.length))]
return acak
}
async function Liriklagu(querry) {
return new Promise(async (resolve, reject) => {
await axios.request({
url: "https://www.musixmatch.com/search/" + querry,
method: "GET",
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\""
}
}).then(async res => {
const ch = cheerio.load(res.data)
let Url = ch('#search-all-results').find('div.main-panel > div:nth-child(1) > div.box-content > div > ul > li > div > div.media-card-body > div > h2 > a').attr('href')
await axios.request({
url: "https://www.musixmatch.com"+ Url,
method: "GET",
data: null,
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"if-none-match": "W/\"252c5-LEqIxy/rzHPI2QxgG5//NcL3YjQ\"",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'
}
}).then(({ data }) => {
const $ = cheerio.load(data)
let judul = $('#site > div > div > div > main > div > div > div.mxm-track-banner.top > div > div > div').find('div.col-sm-10.col-md-8.col-ml-9.col-lg-9.static-position > div.track-title-header > div.mxm-track-title > h1').text().trim()
let artis = $('#site > div > div > div > main > div > div > div > div > div > div > div> div > div > h2 > span').text().trim()
let thumb = $('#site > div > div > div > main > div > div > div.mxm-track-banner.top > div > div > div').find('div.col-sm-1.col-md-2.col-ml-3.col-lg-3.static-position > div > div > div > img').attr('src')
let lirik = []
$('#site > div > div > div > main > div > div > div.mxm-track-lyrics-container').find('div.container > div > div > div > div.col-sm-10.col-md-8.col-ml-6.col-lg-6 > div.mxm-lyrics').each(function (a, b) {
let isi = $(b).find('span').text().trim()
lirik.push(isi)
})
const result = {
result: {
judul: judul.replace('Lyrics', ''),
penyanyi: artis,
thumb: "https:" + thumb,
lirik: lirik[0]
}
}
resolve(result)
}).catch(reject)
})
})
}
async function infoFilm123(url) {
try{
const link = await axios.get(`${url}`)
const $ = cheerio.load(link.data)
let judul = $('#mv-info').find('div.mvi-content > div.mvic-desc > h1').text().trim()
let genre = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(1) > a').text().trim()
let aktor = []
$('div.mvi-content').each(function (a, b) {
let res = $(b).find('div.mvic-desc > div.mvic-info > div.mvici-left > p > a').text().trim()
aktor.push(res)
})
let country = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(4) > a').attr('title')
let durasi = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(1) > strong').text().trim()
let kualitas = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(2) > span').text().trim()
let publish = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(4) > a').text().trim()
let tag = []
$('#mv-keywords').each(function (c, d) {
let res = $(d).find('a').text().trim()
tag.push(res)
})
let thumb = $('#mv-info').find('div.player-holder > a').attr('style')
let video = $('#mv-info').find('div.player-holder > a').attr('href')
var result = {
judul: judul,
thumbail: thumb.replace('background-image: url', '').replace('(', '').replace(')', ''),
genre: genre,
video: video,
negara: country,
durasi: durasi,
quality: kualitas,
rilis: publish,
aktor: aktor,
hastag: tag
}
return result
} catch (err) {
return `Judul tidak ditemukan`
}
}
async function Otakudesu(querry) {
try {
const link = await axios.get(`https://otakudesu.moe/?s=${querry}&post_type=anime`)
const c = cheerio.load(link.data)
let id = c('#venkonten > div > div.venser > div > div > ul > li:nth-child(1) > h2 > a').attr('href')
const Link = await axios.get(id)
const $ = cheerio.load(Link.data)
let judul = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(1) > span').text().trim()
let judulJpn = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(2) > span').text().trim()
let score = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(3) > span').text().trim()
let Produser = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(4) > span').text().trim()
let Type = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(5) > span').text().trim()
let Status = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(6) > span').text().trim()
let TotalEpisode = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(7) > span').text().trim()
let durasi = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(8) > span').text().trim()
let Rilis = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(9) > span').text().trim()
let studio = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(10) > span').text().trim()
let genre = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(11) > span').text().trim()
let thumb = $('#venkonten > div.venser > div.fotoanime').find('img').attr('src')
let Sinopsis = $('#venkonten > div.venser > div.fotoanime > div.sinopc').find('p').text().trim()
let LinkDown = $('#venkonten').find('div.venser > div:nth-child(8) > ul > li:nth-child(4) > span:nth-child(1) > a').attr('href')
const data = {
author: 'Ra bot',
status: link.status,
result: {
judul: judul,
thumb: thumb,
japan: judulJpn,
rating: score,
produser: Produser,
type: Type,
status: Status,
episode: TotalEpisode,
durasi: durasi,
rilis: Rilis,
studio: studio,
genre: genre,
LinkDown: LinkDown,
sinopsis: Sinopsis
}
}
return data
} catch (err) {
var notFond = {
author: 'Ra bot',
status: link.status,
Pesan: 'ERROR HUBUNGI OWNER 082149344210'
}
return notFond
}
}
async function wikipedia(querry) {
try {
const link = await axios.get(`https://id.wikipedia.org/wiki/${querry}`)
const $ = cheerio.load(link.data)
let judul = $('#firstHeading').text().trim()
let thumb = $('#mw-content-text').find('div.mw-parser-output > div:nth-child(1) > table > tbody > tr:nth-child(2) > td > a > img').attr('src') || `//i.ibb.co/nzqPBpC/http-error-404-not-found.png`
let isi = []
$('#mw-content-text > div.mw-parser-output').each(function (rayy, Ra) {
let penjelasan = $(Ra).find('p').text().trim()
isi.push(penjelasan)
})
for(let i of isi) {
const data = {
author: 'Ra bot',
status: link.status,
result: {
judul: judul,
thumb: 'https:'+thumb,
isi: i
}
}
return data
}
} catch (err) {
var notFond = {
author: 'Ra bot',
status: link.status,
Pesan: 'ERROR HUBUNGI OWNER 082149344210'
}
return notFond
}
}
async function corona(negara) {
try{
const link = await axios.get(`https://www.worldometers.info/coronavirus/country/${negara}/`)
const $ = cheerio.load(link.data)
let kasus = $('#maincounter-wrap').find(' div > span').eq(0).text().trim()
let mati = $('#maincounter-wrap').find(' div > span').eq(1).text().trim()
let sembuh = $('#maincounter-wrap').find(' div > span').eq(2).text().trim()
const data = {
author: 'Iqbalzz',
status: link.status,
result: {
kasus: kasus,
meninggal: mati,
sembuh: sembuh
}
}
return data
} catch (err) {
var notFond = {
author: 'Iqbalzz',
status: link.status,
Pesan: 'Error Hubungi Owner Kami'
}
return notFond
}
}
async function cuaca(wilayah) {
try {
function Cuaca(daerah) {
const listcuaca = fs.readFileSync('./database/cuaca.json')
const data = JSON.parse(listcuaca)
if(daerah.toLowerCase() === 'aceh'){
return data[0]
} else if (daerah.toLowerCase() === 'bali') {
return data[1]
} else if (daerah.toLowerCase() === 'bangka belitung') {
return data[2]
} else if (daerah.toLowerCase() === 'banten') {
return data[3]
} else if (daerah.toLowerCase() === 'yogyakarta' || daerah.toLowerCase() === 'jogja') {
return data[4]
} else if (daerah.toLowerCase() === 'jakarta') {
return data[5]
} else if (daerah.toLowerCase() === 'gorontalo') {
return data[6]
} else if (daerah.toLowerCase() === 'jambi') {
return data[7]
} else if (daerah.toLowerCase() === 'jawa barat') {
return data[8]
} else if (daerah.toLowerCase() === 'jawa tengah') {
return data[9]
} else if (daerah.toLowerCase() === 'jawa timur') {
return data[10]
} else if (daerah.toLowerCase() === 'kalimantan barat') {
return data[11]
} else if (daerah.toLowerCase() === 'kalimantan selatan') {
return data[12]
} else if (daerah.toLowerCase() === 'kalimantan tengah') {
return data[13]
} else if (daerah.toLowerCase() === 'kalimantan timur') {
return data[14]
} else if (daerah.toLowerCase() === 'kalimantan utara') {
return data[15]
} else if (daerah.toLowerCase() === 'riau') {
return data[16]
} else if (daerah.toLowerCase() === 'lampung') {
return data[17]
} else if (daerah.toLowerCase() === 'maluku') {
return data[18]
} else if (daerah.toLowerCase() === 'maluku utara') {
return data[19]
} else if (daerah.toLowerCase() === 'ntb') {
return data[20]
} else if (daerah.toLowerCase() === 'ntt') {
return data[21]
} else if (daerah.toLowerCase() === 'papua') {
return data[22]
} else if (daerah.toLowerCase() === 'papua barat') {
return data[23]
} else if (daerah.toLowerCase() === 'riau') {
return data[24]
} else if (daerah.toLowerCase() === 'sulawesi barat') {
return data[25]
} else if (daerah.toLowerCase() === 'sulawesi selatan') {
return data[26]
} else if (daerah.toLowerCase() === 'sulawesi tengah') {
return data[27]
} else if (daerah.toLowerCase() === 'sulawesi tenggara') {
return data[28]
} else if (daerah.toLowerCase() === 'sulawesi utara') {
return data[29]
} else if (daerah.toLowerCase() === 'sumatra barat') {
return data[30]
} else if (daerah.toLowerCase() === 'sumatra selatan') {
return data[31]
} else if (daerah.toLowerCase() === 'sumatra utara') {
return data[32]
} else if (daerah.toLowerCase() === 'indonesia') {
return data[33]
} else {
return `undefined`
}
}
const link = await axios.get(`https://www.bmkg.go.id/cuaca/prakiraan-cuaca-indonesia.bmkg${Cuaca(wilayah)}`)
const $ = cheerio.load(link.data)
let hasil = []
$('#TabPaneCuaca2 > div.table-responsive > table > tbody').each(function (a, b) {
$(b).find('tr').each(function (c, d) {
let nama = $(d).find('td > a').text().trim()
let cuaca = $(d).find('td > span').text().trim()
let suhu = $(d).find('td:nth-child(6)').text().trim()
let kelembapan = $(d).find('td:nth-child(7)').text().trim()
let data = {
daerah: nama,
cuaca: cuaca,
suhu: suhu + ' °C',
kelembapan: kelembapan + '%'
}
hasil.push(data)
})
})
return hasil
} catch (err) {
var notFond = {
author: 'Ra bot',
status: link.status,
Pesan: 'ERROR HUBUNGI OWNER 082149344210'
}
return notFond
}
}
async function FilmApik23(querry) {
try{
const link = await axios.get(`https://filmapik.website/?s=${querry}`);
const c = cheerio.load(link.data)
let Id = []
c('#main > div > div.main-content.main-category > div.movies-list-wrap.mlw-category > div.movies-list.movies-list-full ').each(function (a, b) {
c(b).find('div').each(function (e, d) {
let id = c(d).find('a').attr('href')
Id.push(id)
})
})
let Random = Id[Math.floor(Math.random() * (Id.length))]
const Link = await axios.get(Random)
const $ = cheerio.load(Link.data)
let judul = $('#mv-info').find('div.mvi-content > div.mvic-desc > h3').text().trim()
let view = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(1)').text().trim()
let genre = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(2)').text().trim()
let studio = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(3) > span').text().trim()
let durasi = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(1) > span').text().trim()
let TvStatus = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(2) > span').text().trim()
let network = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > div > p:nth-child(5) > a').text().trim()
let thumb = $('#mv-info').find('div.mvi-content > div.thumb.mvic-thumb > img').attr('src')
let BintangFilm = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > p > span').text().trim()
const data = {
author: 'Ra bot',
status: link.status,
result: {
judul: judul,
thumb: thumb,
Link: Random,
penonton: view.replace('Views: ', ''),
durasi: durasi,
genre: genre.replace('Genre: ', ''),
studio: studio,
TV: TvStatus,
network: network,
bintangFilm: BintangFilm
}
}
return data
} catch (err) {
var notFond = {
author: 'Ra bot',
status: link.status,
Pesan: 'ERROR HUBUNGI OWNER 082149344210'
}
return notFond
}
}
async function ssstik_io(Link) {
const hasil = []
await axios.request({
url: "https://ssstik.io/download-tiktok-mp3",
method: "GET",
data: null,
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.1214162640.1613122103; __gads=ID=a84fb2b8cf02d3d7-22dd4d0604c600bf:T=1613122103:RT=1613122103:S=ALNI_MYL7L8hoaImlsOJ4ci_mlprmNr_dQ; __cflb=02DiuEcwseaiqqyPC5pErDKzpi9ACpCy4uc7DgJdduo1D; _gid=GA1.2.318630001.1621485974; PHPSESSID=e6tcghbdi76h30pkem3lmgb6h2; _gat_UA-3524196-6=1"
}
}).then(async res => {
const $ = cheerio.load(res.data)
let token = $('#splash > div').find('form').attr('data-hx-post')
let ttts = $('#splash > div').find('form').attr('include-vals')
const tt = ttts.split(',')[0].replace('tt:', '')
const ts = ttts.split(',')[1].replace('ts:', '')
const format = {
id: Link,
locale: "en",
tt: tt,
ts: ts
}
await axios('https://ssstik.io' + token, {
method: "POST",
data: new URLSearchParams(Object.entries(format)),
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"hx-active-element": "submit",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.1214162640.1613122103; __gads=ID=a84fb2b8cf02d3d7-22dd4d0604c600bf:T=1613122103:RT=1613122103:S=ALNI_MYL7L8hoaImlsOJ4ci_mlprmNr_dQ; __cflb=02DiuEcwseaiqqyPC5pErDKzpi9ACpCy4uc7DgJdduo1D; _gid=GA1.2.318630001.1621485974; PHPSESSID=e6tcghbdi76h30pkem3lmgb6h2; _gat_UA-3524196-6=1"
}
}).then(respon => {
const ch = cheerio.load(respon.data)
const data = {
author: "RA BOT",
result: {
nowm: ch('#mainpicture > div').find('a.pure-button.pure-button-primary.is-center.u-bl.dl-button.download_link.without_watermark_direct.snaptik').attr('href'),
mp3: ch('#mainpicture > div').find('a.pure-button.pure-button-primary.is-center.u-bl.dl-button.download_link.music.snaptik').attr('href')
}
}
hasil.push(data)
})
})
return hasil[0]
}
async function TiktokDownloader(link) {
const Result = []
await axios.request({
url: `https://ttdownloader.com/`,
method: "get",
headers: {
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.1240046717.1620835673; PHPSESSID=797oo0b7ao6ma18170vfggf8sa; popCookie=1; _gid=GA1.2.182249774.1621486055; _gat_gtag_UA_117413493_7=1"
}
})
.then(async res => {
const $ = cheerio.load(res.data)
let token = $('#token').attr('value');
const Form = {
url: link,
format: '',
token: token
}
await axios("https://ttdownloader.com/ajax/", {
method: "POST",
data: new URLSearchParams(Object.entries(Form)),
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.1240046717.1620835673; PHPSESSID=797oo0b7ao6ma18170vfggf8sa; popCookie=1; _gid=GA1.2.182249774.1621486055; _gat_gtag_UA_117413493_7=1"
}
}).then(respon => {
const ch = cheerio.load(respon.data)
let result = {
status: respon.status,
author: 'RA BOT',
result: {
nowm: ch('#results-list > div:nth-child(2)').find('div.download > a').attr('href'),
wm: ch('#results-list > div:nth-child(3)').find('div.download > a').attr('href'),
audio: ch('#results-list > div:nth-child(4)').find('div.download > a').attr('href')
}
}
Result.push(result)
})
})
return Result[0]
}
async function uploadFile(path) {
const Result = []
const bodyForm = new FormData();
bodyForm.append('files[]', fs.createReadStream(path))
await axios(`https://uguu.se/upload.php`,{
method: 'POST',
data: bodyForm,
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": `multipart/form-data; boundary=${bodyForm._boundary}`
}
}).then(({ data }) => {
const result = {
author: 'Created by Ra',
status: data.success ? 200 : 404,
result: {
url: data.files[0].name,
namaFile: data.files[0].url,
size: data.files[0].size,
hash: data.files[0].hash
}
}
Result.push(result.result.url)
})
return Result[0]
}
async function ytPlay(querry) {
const videos = await yt(querry)
const result = []
const Format = {
q: videos.all[0].url,
vt: 'mp3'
}
await axios('https://yt1s.com/api/ajaxSearch/index', {
method: 'POST',
data: new URLSearchParams(Object.entries(Format)),
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.586773459.1621481788; _gid=GA1.2.1576517376.1621481788; _gat_gtag_UA_173445049_1=1"
},
referrerPolicy: "strict-origin-when-cross-origin"
}).then(async res => {
const FormatData = {
vid: res.data.vid,
k: res.data.kc
}
await axios('https://yt1s.com/api/ajaxConvert/convert', {
method: 'POST',
data: new URLSearchParams(Object.entries(FormatData)),
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"sec-ch-ua-mobile": "?0",
"cookie": "_ga=GA1.2.586773459.1621481788; _gid=GA1.2.1576517376.1621481788; _gat_gtag_UA_173445049_1=1"
},
referrerPolicy: "strict-origin-when-cross-origin"
}).then(respon => {
result.push(respon.data)
})
})
return result[0]
}
async function Gempa() {
try{
const link = await axios.get(`https://www.bmkg.go.id/gempabumi/gempabumi-dirasakan.bmkg`)
const $ = cheerio.load(link.data)
let hasil = []
$('body > div.wrapper > div.container.content > div > div.col-md-8 > div > div > table > tbody').each(function (a, b) {
$(b).find('tr').each(function (c, d) {
let tanggal = $(d).find('td:nth-child(2)').text().trim()
let koordinat = $(d).find('td:nth-child(3)').text().trim()
let magnitudo = $(d).find('td:nth-child(4)').text().trim()
let kedalaman = $(d).find('td:nth-child(5)').text().trim()
let skala = $(d).find('td:nth-child(6) > a').text().trim()
const data = {
author: 'Ra bot',
status: link.status,
result: {
tanggal: tanggal,
koordinat: koordinat,
getaran: magnitudo,
kedalaman: kedalaman,
skala: skala
}
}
hasil.push(data)
})
})
return hasil
} catch (err) {
var notFond = {
author: 'Ra bot',
status: link.status,
Pesan: 'ERROR HUBUNGI OWNER 082149344210'
}
return notFond
}
}
async function cnn() {
try {
const link = await axios.get('https://www.cnnindonesia.com/')
const $ = cheerio.load(link.data)
let hasil = []
$('#content > div > div.l_content > div.box.feed.berita_terbaru_lst > div.list.media_rows.middle').each(function (a, b) {
$(b).find('article').each(function (c, d) {
let judul = $(d).find('a > span.box_text > h2').text().trim() || '-'
let tema = $(d).find('a > span.box_text > span.kanal').text().trim() || '-'
let publik = $(d).find('a > span.box_text > span.date').text().trim() || '-'
let thumb = $(d).find('a > span.ratiobox.ratio_16_9.box_img > span > img').attr('src') || '-'
let url = $(d).find('a').attr('href') || '-'
const data = {
author: 'Ra bot',
status: link.status,
result: {
judul: judul,
tema: tema,
rilis: publik,
thumb: thumb,
url: url
}
}
hasil.push(data)
})
})
return hasil
} catch (err) {
var notFond = {
author: 'Ra bot',
status: link.status,
Pesan: 'ERROR HUBUNGI OWNER 082149344210'
}
return notFond
}
}
async function photoManipulation(namaFile, path, effectId) {
const hasil = []
const fd = new FormData();
fd.append('name', `${namaFile}`)
fd.append('file', fs.createReadStream(`${path}`))
await axios( {
method: "POST",
url: "https://photomania.net/upload/file",
headers: fd.getHeaders(),
data: fd
}).then(async res => {
const formData = {
photoId: `${res.data.id}`,
effectId: `${effectId}`
}
await axios(`https://photomania.net/render`, {
method: "POST",
data: new URLSearchParams(Object.entries(formData)),
headers: {
"accept": "application/json, text/javascript, /; q=0.01",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
}
}).then(respon => {
const result = {
status: respon .status,
author: "I`am Ra",
result: {
url: respon.data.url,
url_secury: respon.data.url_secure,
ukuran: respon.data.width + ' x ' + respon.data.height,
explayet: respon.data.expires_at
}
}
hasil.push(result)
return result
})
})
return hasil[0]
}
async function ToVid(path) {
return new Promise(async (resolve, reject) => {
const BodyForm = new FormData()
BodyForm.append('new-image', fs.createReadStream(path))
BodyForm.append('new-image-url', '')
await axios({
url: "https://s7.ezgif.com/webp-to-mp4",
method: "POST",
headers: BodyForm.getHeaders(),
data: BodyForm
}).then(res => {
const $ = cheerio.load(res.data)
let File = $('#main > form').find('input[type=hidden]:nth-child(1)').attr('value')
let token = $('#main > form').find('input[type=hidden]:nth-child(2)').attr('value')
let Submit = $('#tool-submit-button').find('input').attr('value')
const Format = {
file: File,
token: token,
convert: Submit
}
axios({
url: "https://ezgif.com/webp-to-mp4/" + File,
method: "POST",
data: new URLSearchParams(Object.entries(Format)),
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\""
}
}).then(({ data, status}) => {
const ch = cheerio.load(data)
let link = ch('#output > p.outfile').find('video > source').attr('src')
const result = {
status: status,
data: "https:" + link
}
resolve(result)
}).catch(reject)
})
})
}
async function fbDownloader(Link) {
return new Promise (async (resolve, reject) => {
const BodyForm = {
url: Link
}
await axios({
url: "https://www.getfvid.com/downloader",
method: "POST",
data: new URLSearchParams(Object.entries(BodyForm)),
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"content-type": "application/x-www-form-urlencoded",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'
}
}).then(respon => {
const $ = cheerio.load(respon.data)
let HD = $("body > div.page-content > div > div > div.col-lg-10.col-md-10.col-centered").find('div > div:nth-child(3) > div > div.col-md-4.btns-download > p:nth-child(1) > a').attr('href')
let Normal = $("body > div.page-content > div > div > div.col-lg-10.col-md-10.col-centered").find('div > div:nth-child(3) > div > div.col-md-4.btns-download > p:nth-child(2) > a').attr("href")
const result = {
status: respon.status,
author: "I`am RA",
result: {
link_hd: HD,
normal: Normal
}
}
resolve(result)
}).catch(reject)
})
}
async function SpeedVid(path, kecepatan) {
return new Promise(async (resolve, reject) => {
const BodyForm = new FormData()
BodyForm.append('new-image', fs.createReadStream(path))
BodyForm.append('new-image-url', '')
BodyForm.append('upload', 'Upload video!')
await axios({
url: "https://s3.ezgif.com/video-speed",
method: "POST",
data: BodyForm,
headers: BodyForm.getHeaders()
}).then(({ data }) => {
const $ = cheerio.load(data)
let File = $('#main > form').find(' input[type=hidden]:nth-child(1)').attr('value')
let token = $('#main > form').find('input[type=hidden]:nth-child(2)').attr('value')
const Format = {
file: File,
token: token,
multiplier: kecepatan,
apply_audio: "on"
}
axios({
url: `https://s3.ezgif.com/video-speed/${File}?ajax=true`,
method: "POST",
data: new URLSearchParams(Object.entries(Format)),
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
}
}).then(respon => {
const ch = cheerio.load(respon.data)
let result = {
status: respon.status,
author: "I`am Ra",
data: 'https:' + ch('p').find('video > source').attr('src')
}
resolve(result)
}).catch(reject)
})
})
}
async function ReverseVid (path, audio) {
return new Promise(async (resolve, reject) => {
function muteOrno(audioo ,File, token) {
if (audioo === true) {
const Format = {
file: File,
token: token,
audio: "on",
encoding: "original"
}
return Format
} else if (audioo === false) {
const Format = {
file: File,
token: token,
mute: "on",
encoding: "original"
}
return Format
} else {
const Format = {
file: File,
token: token,
audio: "on",
encoding: "original"
}
return Format
}
}
const BodyForm = new FormData()
BodyForm.append('new-image', fs.createReadStream(path))
BodyForm.append('new-image-url', '')
BodyForm.append('upload', 'Upload video!')
await axios({
url: "https://s3.ezgif.com/reverse-video",
method: 'POST',
data: BodyForm,
headers: BodyForm.getHeaders()
}).then(async respon => {
const $ = cheerio.load(respon.data)
let File = $('#main > form').find('input[type=hidden]:nth-child(1)').attr('value')
let token = $('#main > form').find('input[type=hidden]:nth-child(2)').attr('value')
const Format = await muteOrno(audio, File, token)
axios(`https://s3.ezgif.com/reverse-video/${File}?ajax=true`, {
method: "POST",
data: new URLSearchParams(Object.entries(Format)),
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\""
}
}).then(res => {
const ch = cheerio.load(res.data)
let Link = ch('p > video').find('source').attr('src')
let Type = ch('p > video').find('source').attr('type')
const result = {
status: res.status,
created: "I`am Ra",
result: {
link: "https:" + Link,
type: Type
}
}
resolve(result)
}).catch(reject)
}).catch(reject)
})
}
async function GSMArena(querry) {
const link = await axios.get(`https://www.gsmarena.com/res.php3?sSearch=${querry}`)
const ch = cheerio.load(link.data)
let Url = ch('#review-body > div > ul').find('li:nth-child(1) > a').attr('href')
const Link = await axios.get(`https://www.gsmarena.com/${Url}`)
let $ = cheerio.load(Link.data)
let barang = $('#body > div > div.review-header > div').find(' div.article-info-line.page-specs.light.border-bottom > h1').text().trim()
let rilis = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.specs-brief.pattern > span:nth-child(1) > span').text().trim()
let thumb = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > div > a > img').attr('src')
let ukuran = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.specs-brief.pattern > span:nth-child(3) > span').text().trim()
let tipe = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.specs-brief.pattern > span:nth-child(5) > span').text().trim()
let storage = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.specs-brief.pattern > span:nth-child(7) > span').text().trim()
let display = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-display > div').text().trim()
let inchi = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-display > strong > span').text().trim()
let camPix = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-camera > strong > span:nth-child(1)').text().trim()
let Mp = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-camera > strong > span:nth-child(2)').text().trim()
let VideoVix = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-camera > div').text().trim()
let Ram = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-expansion > strong > span:nth-child(2)').text().trim()
let chipset = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-expansion > div').text().trim()
let batre = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-battery > strong > span:nth-child(1)').text().trim()
let Mah = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-battery > strong > span:nth-child(2)').text().trim()
let merekBatre = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-battery > div').text().trim()
let AngkaRam = $('#body > div > div.review-header > div').find('div.center-stage.light.nobg.specs-accent > ul > li.help.accented.help-expansion > strong > span:nth-child(1)').text().trim()
let detail = []
$('#specs-list').each(function (anu, RA) {
let isi = $(RA).text().trim()
detail.push(isi)
})
const result = {
status: Link.status,
author: "I`am Ra",
result: {
judul: barang,
rilis: rilis,
thumb: thumb,
ukuran: ukuran,
type: tipe,
storage: storage,
display: display,
inchi: inchi,
pixel: camPix + Mp,
videoPixel: VideoVix,
ram: AngkaRam + Ram,
chipset: chipset,
batrai: batre + Mah,
merek_batre: merekBatre,
detail: detail[0]
}
}
return result
}
async function zodiakMing(querry) {
const link = await axios.get(`https://www.fimela.com/zodiak/${querry}/minggu-ini`)
const $ = cheerio.load(link.data)
let thumb = $('body > div > div > div').find('div > div > a > img').attr('src')
let judul = $('body > div > div > div').find('div > div > div.zodiak--content-header__text > h5').text().trim()
let date = $('body > div > div > div').find('div> div.zodiak--content-header__text > span').text().trim()
let hoki = $('body > div > div > div > div').find('div > div > div:nth-child(1) > div > span').text().trim()
let umum = $('body > div > div > div > div').find(' div > div > div:nth-child(1) > div > p').text().trim()
let love = $('body > div > div > div > div').find(' div > div > div:nth-child(2) > div > p').text().trim()
let keuangan = $('body > div > div > div > div').find(' div > div > div:nth-child(3) > div > p').text().trim()
const result = {
status: link.status,
data: {
judul: judul,
thumb: thumb,
date: date,
nomer_hoki: hoki,
isi: {
umum: umum,
love: love,
keuangan: keuangan
}
}
}
return result
}
async function zodiakHar (querry) {
let Hasil = []
await axios.request(`https://www.fimela.com/zodiak/${querry}`, {
method: "GET",
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
}
}).then(({ data}) => {
const $ = cheerio.load(data)
let thumb = $('body > div > div > div').find('div > div > a > img').attr('src')
let judul = $('body > div > div.container-main > div.container-article > div').find('div.zodiak--content-header__right > div.zodiak--content-header__text > h5').text().trim()
let tanggal = $('body > div > div > div > div > div > div > span').text().trim()
let nomer_ = $('body > div > div > div > div > div > div').find('div:nth-child(1) > div.zodiak--content__content > span').text().trim()
let isi = []
$('body > div > div > div > div > div > div').each(function (anu, RA) {
let umum = $(RA).find('div:nth-child(1) > div.zodiak--content__content > p').text().trim() || undefined
let love = $(RA).find('div:nth-child(2) > div.zodiak--content__content > p').text().trim() || undefined
let keuangan = $(RA).find('div:nth-child(3) > div.zodiak--content__content > p').text().trim() || undefined
let Data = {
umum: umum,
love: love,
keuangan: keuangan
}
isi.push(Data)
})
let ramal = []
isi.map(ryuzin => {
if (ryuzin.umum === undefined) return
if (ryuzin.love === undefined) return
if (ryuzin.keuangan === undefined) return
ramal.push(ryuzin)
})
const result = {
judul: judul,
thumb: thumb,
date: tanggal,
no_hoki: nomer_,
teori: ramal[0]
}
Hasil.push(result)
})
return Hasil[0]
}
async function Shoope(item, limit) {
const hasil = []
await axios.request(`https://shopee.co.id/api/v4/search/search_items?by=relevancy&keyword=${item}&limit=${limit}&newest=0&order=desc&page_type=search&scenario=PAGE_GLOBAL_SEARCH&version=2`, {
method: "GET",
data: null,
headers: {
"accept": "*/*",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"if-none-match-": "55b03-856cd63f16112f8a43da6096f97ac3fe",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
}
}).then(respon => {
hasil.push(respon.data)
})
return hasil[0]
}
async function pinterest(querry) {
let HASIL = []
await axios.request(`https://id.pinterest.com/search/pins/?rs=typed&q=` + querry, {
method: "GET",
url: "https://id.pinterest.com/search/pins/?rs=typed&q="+ querry,
headers: {
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"sec-ch-ua-mobile": "?0",
"upgrade-insecure-requests": "1",
"cookie": "csrftoken=ebe0be3a93cea6072be18633add953a2; _b=\"AVezvd6F4UtE24FUsA6INxipyZZDoSpyCc5vaJK4QDYXmExosVEc4h6WkiKhlVtQ430=\"; cm_sub=denied; fba=True; _ga=GA1.2.862909259.1620474446; g_state={\"i_l\":0}; _auth=1; _pinterest_sess=TWc9PSZ0VEZqZmdDSlJYaGU5REIvNklIcVlnMjE5b0ZraTE5REJVQ0JiMUwxTkZZaGFoVk1sRDVhOFlwQzhkQnQ0YkMwRlNyV0lIWUFlK0ZVTkVxYUhKNmlvZ0R1UXlQYTBRRVVhMU1yYkpmcXpHK3UyNjNhckRqUFFOYVJVa3RnVmJtVzd2MmRGaHFMZUpLNVhtaHptTDhWSnBSdXhZY0FhRnRTN3J1S0V4cGtsVTBxeE54NkF2blVNSFV3R0NTQTR1bVVNRURGVGdnYlN5UjdBbk9YcHVGbGI3a1kwd1dEZDgrZVM1SDc3V0pJMm00OWxKUDVNQjBLVlFocTB4Mjg1M1RnbGxBaFAxbS9MTnVzei91cEQvcjBtakp6N0ZnU2t1Y3NxWW1DRDV1Q3h0ankvQ3FEWGh3MXczcXBHNXJpYVNCMHB6dUoxMGF6ZzVxN2VqQVBoSElSd0tiQk41ZVRPQXlOaGNpNzVQMWJSeVZJbCtYYVMxQ1ZRUFUwalU3eGVzMGRySlNzdWo1NG5uaXNFM3ZpT0o0TkZHR1daUXlwaXFQclMwa04raW9xVnVaTTRSVGEzTE03TVlZcmZYVDd5UmVPd2lZaGw4aE9VMHJBd0tidEsrcHdPWk96RlFMekVLTzY3VU1PL0tIYUdwUE1IWVdJNnJXalBkU09Sb3dEaHlQVVR1T1RqNW5Sc2FRdmVkZmhkMk9HNHBCL0ZpZ3NMdmZvVW9ReVltTFBCTlNLWHpray9LNWJ2UTNvTlBzVm9aZjRvYWRvRFhla0dBNzdveWJVYXZmVFp2cnFFNU5DYUVwSHhxeDlIajNIVTlHaEVYdGptWm5mSGVSRmtIMmQwVVVVZlVCVEh6UHB3TnBtdWV0b2l6L3VTc3pXMXFGN3lHS3ZJM3BwL0NrWVJDMm1HY2tROGxuQVFRNS9OUW45R3dtSk8zeFJidVFSTG1qTG5PelAvKzd3T3lrN1NoKzBHVGNTY1pGSEY0bW8xcGVmc3NtclBhTWE2QUMxOXNpQWUwRmo4UHl0ZGpwUzhUQXVhbjYwT0ZJeHhHai8yOWFUVTA1Wkx2czN4VSttLzMvbkFVQ2svWnZvNC9xZ3E4VkhYSFZ5elo4TzhtU0o5c3ZDcEJyYjE3QVI1WHlmTTFhWThvWHQ1T0tSTWRsWnI3a1lpU245dEVLd1lZSXRremtkTUZmcVA2YUg0c1UrSk1JOWJVRzZpcWd3T0NVaFZkdUh3UUdURi9sbDBqT2pBZVV2ZnlTQzc5ZnBMYkFMQ1ZsWjdIYWcmaDc1Uk5kK2I4MjFMUXBaVUthci9rVHpCUWRvPQ==; _pinterest_cm=\"TWc9PSYxZnpkMS9XN29Rd2R0TnpBN0RzVktja1J4NUtINUJqRzNGODFXS0xES1pndWlNVm52a0d3V0JocmVIS3p5eDdnNXNZa0hGelNQNDBSTFRId3ZhTFFIQjRGOW1lNlJZMzFiVlg1MHhSOFpmMGhRZUoySUpJZDIyWlVYMjRXNHRaL1lodFl4eW1jWjNyTklpbytYbHZyd29nRm5DY0pQOGgyUWpDdk9zQ1craXR5VEZoNHV4ZzRnOXV4SUFFSStYZCsmT08zMFI1bktXa3pwSDFtK3NNRWpxWWNpQzNzPQ==\"; _routing_id=\"595f24cd-7f4c-4495-aa67-37212d099cd8\"; sessionFunnelEventLogged=1"
}
}).then(res => {
const $ = cheerio.load(res.data)
let hasil = []
$('body > div > div > div > div > div > div > div > div > div > div > div').each(function (a, b) {
$(b).find('div').each(function (c, d) {
let Link = $(d).find('div > div > div > div > a').find('img').attr('src')
hasil.push(Link)
})
})
let Data = []
hasil.map(V => {
if (V === undefined) return
Data.push(V.replace('236x', 'originals'))
})
let FilterArray = new Set(Data)
let unique = [...FilterArray]
const result = {
status: res.status,
result: unique
}
HASIL.push(result)
})
return HASIL[0]
}
async function TiktokDown (link) {
return new Promise (async (resolve, reject) => {
await axios.request(`https://toksaver.com/convertok?url=` + link, {
method: "GET",
data: null,
headers: {
"accept": "/",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'
}
}).then(res => {
resolve(res.data)
}).catch(reject)
})
}
module.exports.RandomCerpen = RandomCerpen
module.exports.emoji = emoji
module.exports.stickerSearch = stickerSearch
module.exports.ManggaToon = ManggaToon
module.exports.RamalJadian = RamalJadian
module.exports.Pantun = Pantun
module.exports.trutdare = trutdare
module.exports.SearchFilm = SearchFilm
module.exports.infoFilm123 = infoFilm123
module.exports.FaktaUnik = FaktaUnik
module.exports.Liriklagu = Liriklagu
module.exports.Otakudesu = Otakudesu
module.exports.wikipedia = wikipedia
module.exports.corona = corona
module.exports.cuaca = cuaca
module.exports.FilmApik23 = FilmApik23
module.exports.Gempa = Gempa
module.exports.cnn = cnn
module.exports.TiktokDownloader = TiktokDownloader
module.exports.uploadFile = uploadFile
module.exports.ytPlay = ytPlay
module.exports.igDownloader = igDownloader
module.exports.ssstik_io = ssstik_io
module.exports.photoManipulation = photoManipulation
module.exports.ToVid = ToVid
module.exports.fbDownloader = fbDownloader
module.exports.SpeedVid = SpeedVid
module.exports.ReverseVid = ReverseVid
module.exports.GSMArena = GSMArena
module.exports.zodiakMing = zodiakMing
module.exports.zodiakHar = zodiakHar
module.exports.Shoope = Shoope
module.exports.pinterest = pinterest
module.exports.TiktokDown = TiktokDown
================================================
FILE: Zimbot/index3.js
================================================
// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈
//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED
//▮
//▮FORK AND DON'T FORGET TO GIVE A STAR
//▮
//▮THIS SOFTWARE IS UNDER UZ COPYRIGHT
//▮
//▮REPORT ABUSE OF THIS SOFTWARE EMAIL US
//▮reinhardtuna@mail.uk
//▮WHATSAPP US : +44 7441 437150
//▮YOUTUBE CHANNELL: https://youtube.com/c/DRIPSOFC
//▮
//╰▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
//
//┏━━━━━━━━━━━━━━━━━━━━━━━━━
//┃THIS SOFTWARE INCLUDES
//┃SOME ENCRYPTED FILES
//┃
//┃THANKS FOR CHOOSING ZIMBOT
//┃I WROTE THIS SCRIPT BY MYSELF THIS SCRIPT IS FOR EVERYONE DONT SELL IT
//┗━━━━━━━━━━━━━━━━━━━━━━━━━
//
const axios = require('axios');
const cheerio = require('cheerio');
const fs = require('fs');
const { spawn, exec } = require("child_process");
const yt = require("yt-search");
const FormData = require("form-data");
const got = require("got")
const print = (message) => {
return console.log(message)
}
async function ManggaToon(judul) {
try {
const link = await axios.get(`https://mangatoon.mobi/id/search?word=${judul}`)
const c = cheerio.load(link.data)
let id = c('#page-content').find('div.search-page > div > div.comics-result > div.recommended-wrap > div > div > a').attr('href') || 'undefined'
if(id === 'undefined') {
const link2 = await axios.get(`https://mangatoon.mobi/en/search?word=${judul}`)
const C = cheerio.load(link2.data)
let id2 = C('#page-content').find('div.search-page > div > div.comics-result > div.recommended-wrap > div > div:nth-child(1) > a').attr('href')
const data = await axios.get(`https://mangatoon.mobi${id2}`)
const $ = cheerio.load(data.data)
var judul = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-title-bg > span').text().trim()
var genre = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-tags-info > span').text().trim()
var author = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-author-name > span').text().trim()
var thumb = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-img > img.big-img').attr('src');
var LinkKe = $('#page-content').find('div.detail-wrap > div.detail-interact > a').attr('href')
var Link = `https://mangatoon.mobi${LinkKe}`
let Author = author.replace('Nama Author: ', '');
let hasil = {
judul, thumb, genre, Author, Link
}
return hasil
} else {
const data = await axios.get(`https://mangatoon.mobi${id}`)
const $ = cheerio.load(data.data)
var judul = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-title-bg > span').text().trim()
var genre = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-tags-info > span').text().trim()
var author = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-info > div.detail-author-name > span').text().trim()
var thumb = $('#page-content').find('div.detail-wrap > div.detail-top-info > div.detail-img > img.big-img').attr('src');
var LinkKe = $('#page-content').find('div.detail-wrap > div.detail-interact > a').attr('href')
var Link = `https://mangatoon.mobi${LinkKe}`
let Author = author.replace('Nama Author: ', '');
let hasil = {
judul, thumb, genre, Author, Link
}
return hasil
}
} catch (err) {
return `Not Found 404`
}
}
async function emoji(emoticon) {
const emojii = encodeURI(`${emoticon}`)
const link = await axios.get(`https://emojipedia.org/${emojii}/`)
const $ = cheerio.load(link.data)
var apple = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(1) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var google = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(2) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var samsung = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(3) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var microsoft = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(4) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var whatsapp = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(5) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var twitter = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(6) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var facebook = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(7) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var jooxpixel = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(8) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var openmoji = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(9) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var emojidex = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(10) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var messager = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(11) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var LG = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(12) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var HTC = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(13) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var mozilla = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(14) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var softbank = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(15) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var docomo = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(16) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
var KDDI = $('body > div.container > div.content').find('article > section.vendor-list > ul > li:nth-child(17) > div.vendor-container.vendor-rollout-target > div.vendor-image > img').attr('src');
const result = {
apple: apple.replace('120', '240'),
google: google.replace('120', '240'),
samsung: samsung.replace('120', '240'),
microsoft: microsoft.replace('120', '240'),
whatsapp: whatsapp.replace('120', '240'),
twitter: twitter.replace('120', '240'),
facebook: facebook.replace('120', '240'),
jooxPixel: jooxpixel.replace('120', '240'),
openemoji: openmoji.replace('120', '240'),
emojidex: emojidex.replace('120', '240'),
messanger: messager.replace('120', '240'),
LG: LG.replace('120', '240'),
HTC: HTC.replace('120', '240'),
mozilla: mozilla.replace('120', '240'),
softbank: softbank.replace('120', '240'),
docomo: docomo.replace('120', '240'),
KDDI: KDDI.replace('120', '240')
}
return result
}
async function RandomCerpen() {
try{
const link = await axios.get(`http://cerpenmu.com/`)
const c = cheerio.load(link.data)
let kumpulan = []
c('#sidebar > div').each(function (real, ra) {
c(ra).find('ul > li').each(function (i, rayy) {
let random = c(rayy).find('a').attr('href')
kumpulan.push(random)
})
})
var acak = kumpulan[Math.floor(Math.random() * (kumpulan.length))]
let Otw = await axios.get(`${acak}`)
const C = cheerio.load(Otw.data)
let otw = []
C('#content > article > article').each(function (a, b) {
let random = C(b).find('h2 > a').attr('href')
otw.push(random)
})
var Acak = otw[Math.floor(Math.random() * (otw.length))]
let Link = await axios.get(`${Acak}`)
let $ = cheerio.load(Link.data)
let judul = $('#content').find('article > h1').text().trim()
let karangan = $('#content').find('article > a:nth-child(2)').text().trim()
let Isi = []
$('#content > article > p').each(function (wm, Ra) {
let isi = $(Ra).text().trim()
Isi.push(isi)
})
let cerita = []
for (let i of Isi) {
cerita += i
}
const data = {
status: 200,
author: 'RA BOT',
result: {
Judul: judul,
Penulis: karangan,
sumber: Acak,
cerita: cerita
}
}
return data
} catch (err) {
const res404 = {
status: 500,
author: 'RA BOT',
Pesan: 'Udah Ga work?:/ cp: 082149344210'
}
return res404
}
}
async function stickerSearch(querry) {
const link = await axios.get(`https://getstickerpack.com/stickers?query=${querry}`);
const $ = cheerio.load(link.data)
let sticker1 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > img').attr('src'),
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > span.title').text().trim(),
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > span.username').text().trim()
}
let sticker2 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > span.username').text().trim()
}
let sticker3 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > span.username').text().trim()
}
let sticker4 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > span.username').text().trim()
}
let sticker5 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > span.username').text().trim()
}
let sticker6 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > span.username').text().trim()
}
let sticker7 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > span.username').text().trim()
}
let sticker8 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > span.username').text().trim()
}
let sticker9 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > span.username').text().trim()
}
let sticker10 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > span.username').text().trim()
}
let sticker11 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > span.username').text().trim()
}
let sticker12 = {
sticker: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > img').attr('src') ,
nama: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > span.title').text().trim() ,
creator: $('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > span.username').text().trim()
}
let stickerlop = [
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(1) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(2) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(3) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(4) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(5) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(6) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(7) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(8) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(9) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(10) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(11) > a > div > img').attr('src'),
$('#stickerPacks').find('div > div:nth-child(3) > div:nth-child(12) > a > div > img').attr('src')
]
let data = {
sticker: stickerlop, sticker1, sticker2, sticker3, sticker4, sticker5, sticker6, sticker7, sticker8, sticker9, sticker10, sticker11, sticker12
}
return data
}
async function RamalJadian(tanggal, bulan, tahun) {
if(isNaN(tanggal) && isNaN(bulan) && isNaN(tahun)) return `Tanggal bulan tahun harus berupa angka`
const link = await axios.get(`https://www.primbon.com/tanggal_jadian_pernikahan.php?tgl=${tanggal}&bln=${bulan}&thn=${tahun}&proses=+Submit%21+`)
const $ = cheerio.load(link.data)
let tanggall = $('#body').text().trim()
let a = tanggall.replace('MAKNA TANGGAL JADIAN, PERNIKAHAN', '').replace('Karakteristik:', '\nKarakteristik : ').replace('< Hitung Kembali', '')
return a
}
async function igDownloader(Link) {
const hasil = []
const Form = {
url: Link,
submit: ""
}
await axios(`https://downloadgram.org/`, {
method: "POST",
data: new URLSearchParams(Object.entries(Form)),
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"content-type": "application/x-www-form-urlencoded",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "_ga=GA1.2.1695343126.1621491858; _gid=GA1.2.28178724.1621491859; __gads=ID=8f9d3ef930e9a07b-2258e672bec80081:T=1621491859:RT=1621491859:S=ALNI_MbqLxhztDiYZttJFX2SkvYei6uGOw; __atuvc=3%7C20; __atuvs=60a6eb107a17dd75000; __atssc=google%3B2; _gat_gtag_UA_142480840_1=1"
},
referrerPolicy: "strict-origin-when-cross-origin",
}).then(async res => {
const $ = cheerio.load(res.data)
let url = $('#downloadBox').find('a').attr('href');
await axios(Link, {
method: "GET",
data: null,
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
"cookie": "ig_did=08A3C465-7D43-4D8A-806A-88F98384E63B; ig_nrcb=1; mid=X_ipMwALAAFgQ7AftbrkhIDIdXJ8; fbm_124024574287414=base_domain=.instagram.com; shbid=17905; ds_user_id=14221286336; csrftoken=fXHAj5U3mcJihQEyVXfyCzcg46lHx7QD; sessionid=14221286336%3A5n4czHpQ0GRzlq%3A28; shbts=1621491639.7673564; rur=FTW"
},
referrerPolicy: "strict-origin-when-cross-origin"
}).then(respon => {
const ch = cheerio.load(respon.data)
let title = ch('title').text().trim()
const result = {
author: "RA BOT",
result: {
link: url,
desc: title,
LinkAwal: Link
}
}
hasil.push(result)
})
})
return hasil[0]
}
function Pantun() {
const pantun = fs.readFileSync('./database/pantun.json')
const data = JSON.parse(pantun)
const acak = data[Math.floor(Math.random() * (data.length))]
return acak
}
function trutdare(querry) {
const trdr = fs.readFileSync('./database/truthdare.json') // tempat simpen file lu
const result = JSON.parse(trdr)
if(querry === 'truth id') {
let res = result.Truth.id[Math.floor(Math.random() * result.Truth.id.length)]
return res
} else if (querry === 'truth eng') {
let res = result.Truth.eng[Math.floor(Math.random() * result.Truth.eng.length)]
return res
} else if(querry === 'dare id') {
let res = result.Dare.id[Math.floor(Math.random() * result.Dare.id.length)]
return res
} else if(querry === 'dare eng') {
let res = result.Dare.eng[Math.floor(Math.random() * result.Dare.eng.length)]
return res
} else {
return `Querry tidak terdaftar dimenu harap masukkan dengan benar.\n\ncara pakai :\n1. trutdare('truth id')\n2. trutdare('truth eng')\n3. trutdare('dare id')\n4. trutdare('dare eng')`
}
}
async function SearchFilm(querry) {
const link = await axios.get(`https://123movies.mom/search/?keyword=${querry}`)
const $ = cheerio.load(link.data)
let hasil = []
let result = []
$('#main').each(function (a, b) {
$(b).find('div').each(function (c, d) {
let url = $(d).find('a').attr('href')
let img = $(d).find('a > img').attr('src')
let judul = $(d).find('a > img').attr('alt')
let data = {
judul: judul,
thumb: img,
url: url
}
result.push(data)
})
for (let i = 29; i < result.length; i++) {
hasil.push(result[i])
}
})
return hasil
}
function FaktaUnik() {
const fakta = fs.readFileSync('./database/faktaunik.json')
const data = JSON.parse(fakta)
const acak = data[Math.floor(Math.random() * (data.length))]
return acak
}
async function Liriklagu(querry) {
return new Promise(async (resolve, reject) => {
await axios.request({
url: "https://www.musixmatch.com/search/" + querry,
method: "GET",
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\""
}
}).then(async res => {
const ch = cheerio.load(res.data)
let Url = ch('#search-all-results').find('div.main-panel > div:nth-child(1) > div.box-content > div > ul > li > div > div.media-card-body > div > h2 > a').attr('href')
await axios.request({
url: "https://www.musixmatch.com"+ Url,
method: "GET",
data: null,
headers: {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "en-US,en;q=0.9,id;q=0.8",
"cache-control": "max-age=0",
"if-none-match": "W/\"252c5-LEqIxy/rzHPI2QxgG5//NcL3YjQ\"",
"sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36'
}
}).then(({ data }) => {
const $ = cheerio.load(data)
let judul = $('#site > div > div > div > main > div > div > div.mxm-track-banner.top > div > div > div').find('div.col-sm-10.col-md-8.col-ml-9.col-lg-9.static-position > div.track-title-header > div.mxm-track-title > h1').text().trim()
let artis = $('#site > div > div > div > main > div > div > div > div > div > div > div> div > div > h2 > span').text().trim()
let thumb = $('#site > div > div > div > main > div > div > div.mxm-track-banner.top > div > div > div').find('div.col-sm-1.col-md-2.col-ml-3.col-lg-3.static-position > div > div > div > img').attr('src')
let lirik = []
$('#site > div > div > div > main > div > div > div.mxm-track-lyrics-container').find('div.container > div > div > div > div.col-sm-10.col-md-8.col-ml-6.col-lg-6 > div.mxm-lyrics').each(function (a, b) {
let isi = $(b).find('span').text().trim()
lirik.push(isi)
})
const result = {
result: {
judul: judul.replace('Lyrics', ''),
penyanyi: artis,
thumb: "https:" + thumb,
lirik: lirik[0]
}
}
resolve(result)
}).catch(reject)
})
})
}
async function infoFilm123(url) {
try{
const link = await axios.get(`${url}`)
const $ = cheerio.load(link.data)
let judul = $('#mv-info').find('div.mvi-content > div.mvic-desc > h1').text().trim()
let genre = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(1) > a').text().trim()
let aktor = []
$('div.mvi-content').each(function (a, b) {
let res = $(b).find('div.mvic-desc > div.mvic-info > div.mvici-left > p > a').text().trim()
aktor.push(res)
})
let country = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-left > p:nth-child(4) > a').attr('title')
let durasi = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(1) > strong').text().trim()
let kualitas = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(2) > span').text().trim()
let publish = $('#mv-info').find('div.mvi-content > div.mvic-desc > div.mvic-info > div.mvici-right > p:nth-child(4) > a').text().trim()
let tag = []
$('#mv-keywords').each(function (c, d) {
let res = $(d).find('a').text().trim()
tag.push(res)
})
let thumb = $('#mv-info').find('div.player-holder > a').attr('style')
let video = $('#mv-info').find('div.player-holder > a').attr('href')
var result = {
judul: judul,
thumbail: thumb.replace('background-image: url', '').replace('(', '').replace(')', ''),
genre: genre,
video: video,
negara: country,
durasi: durasi,
quality: kualitas,
rilis: publish,
aktor: aktor,
hastag: tag
}
return result
} catch (err) {
return `Judul tidak ditemukan`
}
}
async function Otakudesu(querry) {
try {
const link = await axios.get(`https://otakudesu.moe/?s=${querry}&post_type=anime`)
const c = cheerio.load(link.data)
let id = c('#venkonten > div > div.venser > div > div > ul > li:nth-child(1) > h2 > a').attr('href')
const Link = await axios.get(id)
const $ = cheerio.load(Link.data)
let judul = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(1) > span').text().trim()
let judulJpn = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(2) > span').text().trim()
let score = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(3) > span').text().trim()
let Produser = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(4) > span').text().trim()
let Type = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(5) > span').text().trim()
let Status = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(6) > span').text().trim()
let TotalEpisode = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(7) > span').text().trim()
let durasi = $('#venkonten').find('div.venser > div.fotoanime > div.infozin > div > p:nth-child(8) > span
gitextract_gb_3ye8s/ ├── .dockerignore ├── .gitattributes ├── .github/ │ └── FUNDING.yml ├── .npmignore ├── Dockerfile ├── LICENSE ├── README.md ├── Zimbot/ │ ├── gtts.js │ ├── index.js │ ├── index2.js │ ├── index3.js │ ├── index4.js │ ├── index5.js │ ├── jadibot.js │ ├── mediafire.js │ └── zimbotii.js ├── Zimbot.js ├── app.json ├── bot.js ├── bot_session/ │ └── upload_your_creds.json_here ├── database/ │ ├── antilink.json │ ├── balance.json │ ├── ban.json │ ├── banned.json │ ├── database.json │ ├── glimit.json │ ├── inventori.json │ ├── language.json │ ├── level.json │ ├── leveluser.json │ ├── limit.json │ ├── userhit.json │ └── welcome.json ├── drips.js ├── drips.yml ├── gitattributes ├── gitignore ├── heroku.yml ├── index.js ├── level.js ├── leveluser.json ├── lib/ │ ├── ApkDown.js │ ├── Dockerfile │ ├── antispam.js │ ├── binary.js │ ├── cloudDBAdapter.js │ ├── color.js │ ├── converter.js │ ├── database.js │ ├── dungeon.js │ ├── exif.js │ ├── fetcher.js │ ├── image.js │ ├── level.js │ ├── levelling.js │ ├── limit.js │ ├── limit2.js │ ├── limit3.js │ ├── limitbb.js │ ├── limitc.js │ ├── lirik.js │ ├── liyascrape.js │ ├── lol.js │ ├── lvlfunction.js │ ├── mediafire.js │ ├── mongoDB.js │ ├── myfunc.js │ ├── myfunc2.js │ ├── namaku.js │ ├── nothing.js │ ├── random.js │ ├── rpg.js │ ├── rude.json │ ├── scrape.js │ ├── scrape2.js │ ├── scrape3.js │ ├── scrapedl.js │ ├── scrapejoox.js │ ├── scraper.js │ ├── scraper2.js │ ├── scraper3.js │ ├── skiuwers.js │ ├── tes.xlsx │ ├── tictactoe.d.ts │ ├── tictactoe.js │ ├── tiktok.js │ ├── uploader.js │ ├── y2mate.js │ ├── ytdl.js │ ├── ytdl2.js │ └── zimbot ├── limit.js ├── package.json ├── plugins/ │ ├── converter.js │ ├── neoxrApi.js │ ├── sticker.js │ ├── tiktok.js │ ├── uploadFile.js │ └── uploadImage.js ├── replit ├── replit.nix ├── rude.json ├── server.js ├── speed.py ├── src/ │ ├── database.json │ └── math.js ├── storage/ │ └── user/ │ ├── alat_tukar.js │ ├── buruan.js │ ├── darah.js │ ├── darah.json │ ├── hasil_buruan.json │ ├── inventory.json │ ├── limit.js │ ├── limit.json │ ├── monay.js │ └── monay.json └── tez.js
SYMBOL INDEX (519 symbols across 43 files)
FILE: Zimbot.js
function randomNomor (line 610) | function randomNomor(min, max = null) {
function pickRandom (line 620) | function pickRandom(list) {
function sendButLoc (line 657) | async function sendButLoc(from) {
function sendButJoin (line 743) | async function sendButJoin(from, query) {
function sendButslime (line 797) | async function sendButslime(from) {
function sendButgoblin (line 846) | async function sendButgoblin(from) {
function sendButdevil (line 895) | async function sendButdevil(from) {
function sendButbehemoth (line 944) | async function sendButbehemoth(from) {
function sendButdemon (line 995) | async function sendButdemon(from) {
function sendButdemonking (line 1046) | async function sendButdemonking(from) {
function Return (line 7654) | function Return(sul) {
FILE: Zimbot/gtts.js
constant GOOGLE_TTS_URL (line 8) | const GOOGLE_TTS_URL = 'http://translate.google.com/translate_tts';
constant MAX_CHARS (line 9) | const MAX_CHARS = 100;
constant LANGUAGES (line 10) | const LANGUAGES = {
function Text2Speech (line 64) | function Text2Speech(_lang, _debug) {
function save (line 82) | function save(getArgs, filepath, text, callback) {
function stream (line 105) | function stream(getArgs, text) {
function getHeader (line 122) | function getHeader() {
function getArgsFactory (line 130) | function getArgsFactory(lang){
function tokenize (line 139) | function tokenize(text) {
function createServer (line 170) | function createServer(getArgs, port) {
FILE: Zimbot/index2.js
function ManggaToon (line 34) | async function ManggaToon(judul) {
function emoji (line 75) | async function emoji(emoticon) {
function RandomCerpen (line 118) | async function RandomCerpen() {
function stickerSearch (line 172) | async function stickerSearch(querry) {
function RamalJadian (line 255) | async function RamalJadian(tanggal, bulan, tahun) {
function igDownloader (line 263) | async function igDownloader(Link) {
function Pantun (line 311) | function Pantun() {
function trutdare (line 317) | function trutdare(querry) {
function SearchFilm (line 336) | async function SearchFilm(querry) {
function FaktaUnik (line 359) | function FaktaUnik() {
function Liriklagu (line 365) | async function Liriklagu(querry) {
function infoFilm123 (line 414) | async function infoFilm123(url) {
function Otakudesu (line 454) | async function Otakudesu(querry) {
function wikipedia (line 505) | async function wikipedia(querry) {
function corona (line 537) | async function corona(negara) {
function cuaca (line 563) | async function cuaca(wilayah) {
function FilmApik23 (line 668) | async function FilmApik23(querry) {
function ssstik_io (line 717) | async function ssstik_io(Link) {
function TiktokDownloader (line 766) | async function TiktokDownloader(link) {
function uploadFile (line 812) | async function uploadFile(path) {
function ytPlay (line 839) | async function ytPlay(querry) {
function Gempa (line 880) | async function Gempa() {
function cnn (line 916) | async function cnn() {
function photoManipulation (line 952) | async function photoManipulation(namaFile, path, effectId) {
function ToVid (line 993) | async function ToVid(path) {
function fbDownloader (line 1035) | async function fbDownloader(Link) {
function SpeedVid (line 1068) | async function SpeedVid(path, kecepatan) {
function ReverseVid (line 1111) | async function ReverseVid (path, audio) {
function GSMArena (line 1180) | async function GSMArena(querry) {
function zodiakMing (line 1231) | async function zodiakMing(querry) {
function zodiakHar (line 1257) | async function zodiakHar (querry) {
function Shoope (line 1302) | async function Shoope(item, limit) {
function pinterest (line 1318) | async function pinterest(querry) {
function TiktokDown (line 1353) | async function TiktokDown (link) {
FILE: Zimbot/index3.js
function ManggaToon (line 34) | async function ManggaToon(judul) {
function emoji (line 75) | async function emoji(emoticon) {
function RandomCerpen (line 118) | async function RandomCerpen() {
function stickerSearch (line 172) | async function stickerSearch(querry) {
function RamalJadian (line 255) | async function RamalJadian(tanggal, bulan, tahun) {
function igDownloader (line 263) | async function igDownloader(Link) {
function Pantun (line 311) | function Pantun() {
function trutdare (line 317) | function trutdare(querry) {
function SearchFilm (line 336) | async function SearchFilm(querry) {
function FaktaUnik (line 359) | function FaktaUnik() {
function Liriklagu (line 365) | async function Liriklagu(querry) {
function infoFilm123 (line 414) | async function infoFilm123(url) {
function Otakudesu (line 454) | async function Otakudesu(querry) {
function wikipedia (line 505) | async function wikipedia(querry) {
function corona (line 537) | async function corona(negara) {
function cuaca (line 563) | async function cuaca(wilayah) {
function FilmApik23 (line 668) | async function FilmApik23(querry) {
function ssstik_io (line 717) | async function ssstik_io(Link) {
function TiktokDownloader (line 766) | async function TiktokDownloader(link) {
function uploadFile (line 812) | async function uploadFile(path) {
function ytPlay (line 839) | async function ytPlay(querry) {
function Gempa (line 880) | async function Gempa() {
function cnn (line 916) | async function cnn() {
function photoManipulation (line 952) | async function photoManipulation(namaFile, path, effectId) {
function ToVid (line 993) | async function ToVid(path) {
function fbDownloader (line 1035) | async function fbDownloader(Link) {
function SpeedVid (line 1068) | async function SpeedVid(path, kecepatan) {
function ReverseVid (line 1111) | async function ReverseVid (path, audio) {
function GSMArena (line 1180) | async function GSMArena(querry) {
function zodiakMing (line 1231) | async function zodiakMing(querry) {
function zodiakHar (line 1257) | async function zodiakHar (querry) {
function Shoope (line 1302) | async function Shoope(item, limit) {
function pinterest (line 1318) | async function pinterest(querry) {
function TiktokDown (line 1354) | async function TiktokDown (link) {
function jagokata (line 1371) | function jagokata(input) {
FILE: Zimbot/index4.js
function adopt (line 24) | function adopt(value) { return value instanceof P ? value : new P(functi...
function fulfilled (line 26) | function fulfilled(value) { try { step(generator.next(value)); } catch (...
function rejected (line 27) | function rejected(value) { try { step(generator["throw"](value)); } catc...
function step (line 28) | function step(result) { result.done ? resolve(result.value) : adopt(resu...
function ManggaToon (line 41) | function ManggaToon(querry) {
function EmojiScrapper (line 98) | function EmojiScrapper(emoji) {
function RandomCerpen (line 138) | function RandomCerpen() {
function StickerSearch (line 186) | function StickerSearch(querry) {
function UploadFile (line 236) | function UploadFile(_path) {
function igDownload (line 263) | function igDownload(Link) {
function Pantun (line 311) | function Pantun() {
function TruthOrDare (line 316) | function TruthOrDare(querry) {
function SearchFilm (line 338) | function SearchFilm(querry) {
function OtakudesuSearch (line 364) | function OtakudesuSearch(querry) {
function InfoOtakudesu (line 406) | function InfoOtakudesu(URL) {
function Musikmatch (line 448) | function Musikmatch(querry) {
function Snaptik (line 494) | function Snaptik (Url) {
FILE: Zimbot/index5.js
function randomarray (line 31) | function randomarray(url) {
FILE: drips.js
constant DATABASE_URL (line 26) | const DATABASE_URL =
FILE: index.js
function startZimBotInc (line 77) | async function startZimBotInc() {
FILE: lib/binary.js
function dBinary (line 23) | async function dBinary(str) {
function eBinary (line 32) | async function eBinary(str = ''){
FILE: lib/cloudDBAdapter.js
class CloudDBAdapter (line 40) | class CloudDBAdapter {
method constructor (line 41) | constructor(url, {
method read (line 52) | async read() {
method write (line 68) | async write(obj) {
FILE: lib/converter.js
function ffmpeg (line 27) | function ffmpeg(buffer, args = [], ext = '', ext2 = '') {
function toAudio (line 61) | function toAudio(buffer, ext) {
function toPTT (line 76) | function toPTT(buffer, ext) {
function toVideo (line 91) | function toVideo(buffer, ext) {
FILE: lib/database.js
class Database (line 28) | class Database {
method constructor (line 34) | constructor(filepath, ...args) {
method data (line 53) | get data() {
method data (line 57) | set data(value) {
method load (line 65) | load() {
method save (line 72) | save() {
method _load (line 76) | _load() {
method _save (line 85) | async _save() {
FILE: lib/exif.js
function imageToWebp (line 32) | async function imageToWebp (media) {
function videoToWebp (line 59) | async function videoToWebp (media) {
function writeExifImg (line 97) | async function writeExifImg (media, metadata) {
function writeExifVid (line 118) | async function writeExifVid (media, metadata) {
function writeExif (line 139) | async function writeExif (media, metadata) {
FILE: lib/fetcher.js
function pad (line 73) | function pad(s) {
FILE: lib/levelling.js
function xpRange (line 24) | function xpRange(level, multiplier = global.multiplier || 1) {
function findLevel (line 36) | function findLevel(xp, multiplier = global.multiplier || 1) {
function canLevelUp (line 49) | function canLevelUp(level, xp, multiplier = global.multiplier || 1) {
FILE: lib/liyascrape.js
function pinterest (line 29) | function pinterest(querry){
function wallpaper (line 53) | function wallpaper(title, page = '1') {
function wikimedia (line 72) | function wikimedia(title) {
function quotesAnime (line 90) | function quotesAnime() {
function aiovideodl (line 113) | function aiovideodl(link) {
function umma (line 140) | function umma(url) {
function ringtone (line 165) | function ringtone(title) {
function styletext (line 179) | function styletext(teks) {
FILE: lib/lol.js
function quotes (line 94) | function quotes(input) {
function joox (line 114) | function joox(query) {
function tiktok (line 156) | function tiktok(url) {
function snaptik (line 195) | async function snaptik(url) {
function twitter (line 224) | function twitter(url) {
function igdl (line 247) | function igdl(url) {
function igstory (line 282) | function igstory(username) {
function igstory2 (line 317) | async function igstory2(username) {
function pin (line 330) | function pin(url) {
function _token (line 359) | function _token(host) {
function facebook (line 374) | function facebook(url){
function facebook2 (line 399) | function facebook2(urls) {
function wallpaper (line 431) | function wallpaper(title, page) {
function wikimedia (line 449) | function wikimedia(title) {
function tiktokporn (line 467) | function tiktokporn() {
function hentai (line 489) | function hentai() {
function quotesanime (line 513) | function quotesanime() {
function playstore (line 536) | function playstore(name) {
function herolist (line 576) | function herolist() {
function herodetails (line 593) | function herodetails(name) {
function xnxxsearch (line 683) | function xnxxsearch(query) {
function xnxxdl (line 727) | function xnxxdl(URL) {
function soundcloud (line 771) | async function soundcloud(url) {
function anime (line 794) | function anime(query) {
function manga (line 818) | function manga(query) {
function character (line 842) | function character(query) {
function jadwalbola (line 866) | function jadwalbola() {
function jadwaltv (line 892) | function jadwaltv() {
function jadwalsholat (line 917) | function jadwalsholat(query) {
function pinterest (line 943) | function pinterest(query) {
function film (line 958) | function film(query) {
function wattpad (line 993) | function wattpad(query) {
function wattpaduser (line 1024) | function wattpaduser(query) {
function webtoons (line 1052) | function webtoons(query) {
function mangatoons (line 1079) | function mangatoons(query) {
function drakor (line 1104) | function drakor(query) {
function stickersearch (line 1130) | function stickersearch(query) {
function listsurah (line 1162) | function listsurah() {
function surah (line 1181) | function surah(query) {
function tafsirsurah (line 1205) | function tafsirsurah(query) {
function jalantikus (line 1230) | function jalantikus(query) {
function tribunnews (line 1253) | function tribunnews() {
function kompasnews (line 1278) | function kompasnews() {
function inews (line 1304) | function inews() {
function shoppe (line 1330) | async function shoppe(item, limit) {
function otaku (line 1347) | async function otaku(querry) {
function covid (line 1399) | function covid() {
function lirik (line 1440) | function lirik(judul){
function komiku (line 1462) | function komiku(judul) {
function ghstalk (line 1506) | function ghstalk(username) {
function telegraph (line 1515) | async function telegraph(buffer) {
function gempa (line 1532) | function gempa() {
function servermc (line 1565) | function servermc() {
function happymod (line 1588) | function happymod(query) {
function sfilesearch (line 1611) | function sfilesearch(query) {
function hoax (line 1633) | function hoax() {
function ssweb (line 1661) | function ssweb(url) {
function filmapik (line 1670) | async function filmapik(query) {
function aiovideodl (line 1721) | function aiovideodl(link) {
function mediafire (line 1748) | async function mediafire(url) {
FILE: lib/mongoDB.js
method constructor (line 28) | constructor(url, options = { useNewUrlParser: true, useUnifiedTopology: ...
method read (line 34) | async read() {
method write (line 56) | async write(data) {
FILE: lib/myfunc.js
function format (line 169) | function format(...args) {
FILE: lib/myfunc2.js
function format (line 254) | function format(...args) {
FILE: lib/scrape.js
function post (line 45) | function post(url, formdata) {
function tiktok (line 58) | async function tiktok(Url) {
function tiktokmusic (line 115) | async function tiktokmusic(URL) {
function ghstalk (line 136) | function ghstalk(username) {
function telegra (line 146) | async function telegra(buffer) {
function yta (line 163) | function yta(url) {
function ytv (line 209) | function ytv(url) {
function emoji (line 252) | async function emoji(emoticon) {
function covid (line 298) | function covid() {
function mediafire (line 339) | async function mediafire(url) {
function noise (line 356) | function noise(_var, depth = 4, s = 1024, freq) {
function formula (line 369) | function formula(_var, freq, offset, amp, add) {
function textArgs (line 372) | function textArgs(text, background, color, size, fontfile, x = '200' , y...
function pickRandom (line 375) | function pickRandom(list) {
function rand (line 378) | function rand(min, max, q = 0.001) {
function tahta (line 382) | function tahta(text = '') {
function styleText (line 432) | async function styleText(text) {
function asmaul (line 448) | function asmaul() {
function fb (line 1159) | function fb(link){
function igstalk (line 1185) | function igstalk(username){
function tebakgambar (line 1221) | function tebakgambar() {
function playstore (line 1245) | function playstore(name){
function twitter (line 1286) | function twitter(link){
function kodepos (line 1314) | async function kodepos(kota) {
function gempa (line 1353) | function gempa() {
function servermc (line 1387) | function servermc() {
function happymod (line 1411) | function happymod(query) {
function halal (line 1435) | function halal(query, page) {
function mcpedl (line 1457) | function mcpedl(query) {
function sfilesearch (line 1485) | function sfilesearch(query) {
function hoax (line 1508) | function hoax() {
function igvideo (line 1537) | function igvideo(link) {
function igfoto (line 1562) | function igfoto(link) {
function igtv (line 1587) | function igtv(link) {
function jalantikus (line 1611) | function jalantikus(query) {
function tribunnews (line 1635) | function tribunnews() {
function kompasnews (line 1661) | function kompasnews() {
function wallpapper (line 1685) | function wallpapper(query) {
function wallpaper (line 1699) | function wallpaper(title, page = '1') {
function apkmody (line 1718) | function apkmody(query) {
function palingmurah (line 1742) | function palingmurah(query) {
function moddroid (line 1774) | function moddroid(query) {
function pinterest (line 1797) | function pinterest(querry){
function ssweb (line 1820) | function ssweb(url) {
FILE: lib/scrape2.js
function umma (line 29) | function umma(url) {
function ringtone (line 54) | function ringtone(title) {
FILE: lib/scrape3.js
function upload (line 29) | function upload (media) {
function otakudesu (line 52) | function otakudesu(judul){
function covid (line 91) | function covid(){
function ongoing (line 132) | function ongoing(){
function komiku (line 173) | function komiku(judul) {
function tebakgambar (line 217) | function tebakgambar() {
function surah2 (line 241) | function surah2(no){
function sholat (line 274) | function sholat(NOMOR) {
function lirik (line 294) | function lirik(judul){
function chara (line 316) | function chara(query) {
function wattpad (line 336) | function wattpad(judul){
function playstore (line 434) | function playstore(name){
function linkwa (line 474) | function linkwa(nama){
function youtube (line 860) | function youtube(link){
function quotes (line 943) | function quotes(input) {
function joox (line 963) | function joox(query) {
function tiktok (line 1005) | function tiktok(url) {
function twitter (line 1044) | function twitter(url) {
function twitter2 (line 1067) | function twitter2(link){
function igdl2 (line 1094) | function igdl2(url) {
function igdl (line 1129) | function igdl(url_media) {
function igstalk (line 1176) | function igstalk(username){
function igstory (line 1211) | function igstory(username) {
function covid (line 1246) | function covid(){
function pin (line 1287) | function pin(url) {
function _token (line 1316) | function _token(host) {
function facebook (line 1331) | function facebook(url) {
function fbdown (line 1343) | function fbdown(link){
function pinterest (line 1369) | function pinterest(querry) {
function wallpaper (line 1393) | function wallpaper(title, page = '1') {
function wikimedia (line 1411) | function wikimedia(title) {
function porno (line 1429) | function porno() {
function hentai (line 1451) | function hentai() {
function quotesAnime (line 1475) | function quotesAnime() {
FILE: lib/scrapedl.js
function quotes (line 96) | function quotes(input) {
function joox (line 116) | function joox(query) {
function tiktok (line 158) | function tiktok(url) {
function snaptik (line 197) | async function snaptik(url) {
function twitter (line 226) | function twitter(url) {
function igdl (line 249) | function igdl(url) {
function igstory (line 284) | function igstory(username) {
function igstory2 (line 319) | async function igstory2(username) {
function pin (line 332) | function pin(url) {
function _token (line 361) | function _token(host) {
function facebook (line 376) | function facebook(url){
function facebook2 (line 401) | function facebook2(urls) {
function wallpaper (line 433) | function wallpaper(title, page) {
function wikimedia (line 451) | function wikimedia(title) {
function tiktokporn (line 469) | function tiktokporn() {
function hentai (line 491) | function hentai() {
function quotesanime (line 515) | function quotesanime() {
function playstore (line 538) | function playstore(name) {
function herolist (line 578) | function herolist() {
function herodetails (line 595) | function herodetails(name) {
function xnxxsearch (line 685) | function xnxxsearch(query) {
function xnxxdl (line 729) | function xnxxdl(URL) {
function soundcloud (line 773) | async function soundcloud(url) {
function anime (line 796) | function anime(query) {
function manga (line 820) | function manga(query) {
function character (line 844) | function character(query) {
function jadwalbola (line 868) | function jadwalbola() {
function jadwaltv (line 894) | function jadwaltv() {
function jadwalsholat (line 919) | function jadwalsholat(query) {
function pinterest (line 945) | function pinterest(query) {
function film (line 960) | function film(query) {
function wattpad (line 995) | function wattpad(query) {
function wattpaduser (line 1026) | function wattpaduser(query) {
function webtoons (line 1054) | function webtoons(query) {
function mangatoons (line 1081) | function mangatoons(query) {
function drakor (line 1106) | function drakor(query) {
function stickersearch (line 1132) | function stickersearch(query) {
function listsurah (line 1164) | function listsurah() {
function surah (line 1183) | function surah(query) {
function tafsirsurah (line 1207) | function tafsirsurah(query) {
function jalantikus (line 1232) | function jalantikus(query) {
function tribunnews (line 1255) | function tribunnews() {
function kompasnews (line 1280) | function kompasnews() {
function inews (line 1306) | function inews() {
function shoppe (line 1332) | async function shoppe(item, limit) {
function otaku (line 1349) | async function otaku(querry) {
function covid (line 1401) | function covid() {
function lirik (line 1442) | function lirik(judul){
function komiku (line 1464) | function komiku(judul) {
function ghstalk (line 1508) | function ghstalk(username) {
function telegraph (line 1517) | async function telegraph(buffer) {
function gempa (line 1534) | function gempa() {
function servermc (line 1567) | function servermc() {
function happymod (line 1590) | function happymod(query) {
function sfilesearch (line 1613) | function sfilesearch(query) {
function hoax (line 1635) | function hoax() {
function ssweb (line 1663) | function ssweb(url) {
function filmapik (line 1672) | async function filmapik(query) {
function aiovideodl (line 1723) | function aiovideodl(link) {
function mediafire (line 1750) | async function mediafire(url) {
FILE: lib/scrapejoox.js
function joox (line 29) | function joox(query) {
FILE: lib/scraper.js
function pinterest (line 27) | function pinterest(querry){
function wallpaper (line 51) | function wallpaper(title, page = '1') {
function wikimedia (line 70) | function wikimedia(title) {
function quotesAnime (line 88) | function quotesAnime() {
function aiovideodl (line 111) | function aiovideodl(link) {
function umma (line 138) | function umma(url) {
function ringtone (line 163) | function ringtone(title) {
function styletext (line 177) | function styletext(teks) {
FILE: lib/scraper2.js
function aiovideodl (line 27) | async function aiovideodl(link) {
FILE: lib/scraper3.js
function pinterest (line 28) | function pinterest(querry){
function wallpaper (line 52) | function wallpaper(title, page = '1') {
function wikimedia (line 71) | function wikimedia(title) {
function quotesAnime (line 89) | function quotesAnime() {
function aiovideodl (line 112) | function aiovideodl(link) {
function umma (line 139) | function umma(url) {
function ringtone (line 164) | function ringtone(title) {
function styletext (line 178) | function styletext(teks) {
FILE: lib/skiuwers.js
function post (line 43) | function post(url, formdata) {
function pinterest (line 56) | function pinterest(querry){
function wallpaper (line 80) | function wallpaper(title, page = '1') {
function wikimedia (line 99) | function wikimedia(title) {
function quotesAnime (line 117) | function quotesAnime() {
function post (line 141) | function post(url, formdata) {
function post (line 187) | function post(url, formdata) {
function tiktokDown (line 231) | async function tiktokDown (Url) {
function webp2gifFile (line 315) | function webp2gifFile(path) {
function igDownloader (line 361) | async function igDownloader(Link) {
function TiktokDownloader (line 409) | async function TiktokDownloader(Url) {
function igdl (line 450) | function igdl(url_media) {
function post (line 495) | function post(url, formdata) {
function post (line 519) | function post(url, formdata) {
function aiovideodl (line 542) | function aiovideodl(link) {
function yta (line 569) | function yta(url) {
function ytv (line 612) | function ytv(url) {
function post (line 656) | function post(url, formdata) {
function upload (line 750) | function upload (media) {
FILE: lib/tictactoe.d.ts
class TicTacToe (line 24) | class TicTacToe {
FILE: lib/tictactoe.js
class TicTacToe (line 23) | class TicTacToe {
method constructor (line 24) | constructor(playerX = 'x', playerO = 'o') {
method board (line 33) | get board() {
method currentTurn (line 37) | get currentTurn() {
method enemyTurn (line 41) | get enemyTurn() {
method check (line 45) | static check(state) {
method toBinary (line 57) | static toBinary(x = 0, y = 0) {
method turn (line 72) | turn(player = 0, x = 0, y) {
method render (line 93) | static render(boardX = 0, boardO = 0) {
method render (line 102) | render() {
method winner (line 106) | get winner() {
FILE: lib/tiktok.js
function tiktokDown (line 28) | async function tiktokDown (Url) {
FILE: lib/uploader.js
function TelegraPh (line 32) | function TelegraPh (Path) {
function UploadFileUgu (line 53) | async function UploadFileUgu (input) {
function webp2mp4File (line 71) | function webp2mp4File(path) {
FILE: lib/y2mate.js
function post (line 27) | function post(url, formdata) {
function yt (line 49) | async function yt(url, quality, type, bitrate, server = 'en68') {
method yta (line 107) | yta(url, server = 'en68') { return yt(url, '128kbps', 'mp3', '128', serv...
method ytv (line 113) | ytv(url, server = 'en68') { return yt(url, '360p', 'mp4', '360', server) }
FILE: lib/ytdl.js
function youtube (line 20) | function youtube(link){
function searchResult (line 100) | function searchResult(query) {
FILE: lib/ytdl2.js
class YT (line 12) | class YT {
method constructor (line 13) | constructor() { }
FILE: plugins/converter.js
function ffmpeg (line 5) | function ffmpeg(buffer, args = [], ext = '', ext2 = '') {
function toPTT (line 45) | function toPTT(buffer, ext) {
function toAudio (line 60) | function toAudio(buffer, ext) {
function toVideo (line 76) | function toVideo(buffer, ext) {
FILE: plugins/neoxrApi.js
method constructor (line 7) | constructor(apiKey) {
FILE: plugins/sticker.js
function sticker2 (line 25) | function sticker2(img, url) {
function sticker3 (line 68) | async function sticker3(img, url, packname, author) {
function sticker4 (line 83) | async function sticker4(img, url) {
function sticker5 (line 94) | async function sticker5(img, url, packname, author, categories = [''], e...
function sticker6 (line 111) | function sticker6(img, url) {
function addExif (line 156) | async function addExif(webpSticker, packname, author, categories = [''],...
function sticker (line 175) | async function sticker(img, url, ...args) {
FILE: plugins/tiktok.js
function shortener (line 10) | async function shortener(url) {
FILE: server.js
constant PORT (line 4) | const PORT = process.env.PORT || 3000
FILE: speed.py
class FakeShutdownEvent (line 42) | class FakeShutdownEvent(object):
method isSet (line 48) | def isSet():
class _Py3Utf8Output (line 164) | class _Py3Utf8Output(TextIOWrapper):
method __init__ (line 168) | def __init__(self, f, **kwargs):
method write (line 176) | def write(self, s):
function to_utf8 (line 190) | def to_utf8(v):
function print_ (line 194) | def print_(*args, **kwargs):
function to_utf8 (line 204) | def to_utf8(v):
function print_ (line 211) | def print_(*args, **kwargs):
function event_is_set (line 299) | def event_is_set(event):
class SpeedtestException (line 306) | class SpeedtestException(Exception):
class SpeedtestCLIError (line 310) | class SpeedtestCLIError(SpeedtestException):
class SpeedtestHTTPError (line 314) | class SpeedtestHTTPError(SpeedtestException):
class SpeedtestConfigError (line 318) | class SpeedtestConfigError(SpeedtestException):
class SpeedtestServersError (line 322) | class SpeedtestServersError(SpeedtestException):
class ConfigRetrievalError (line 326) | class ConfigRetrievalError(SpeedtestHTTPError):
class ServersRetrievalError (line 330) | class ServersRetrievalError(SpeedtestHTTPError):
class InvalidServerIDType (line 334) | class InvalidServerIDType(SpeedtestException):
class NoMatchedServers (line 338) | class NoMatchedServers(SpeedtestException):
class SpeedtestMiniConnectFailure (line 342) | class SpeedtestMiniConnectFailure(SpeedtestException):
class InvalidSpeedtestMiniServer (line 346) | class InvalidSpeedtestMiniServer(SpeedtestException):
class ShareResultsConnectFailure (line 352) | class ShareResultsConnectFailure(SpeedtestException):
class ShareResultsSubmitFailure (line 356) | class ShareResultsSubmitFailure(SpeedtestException):
class SpeedtestUploadTimeout (line 362) | class SpeedtestUploadTimeout(SpeedtestException):
class SpeedtestBestServerFailure (line 368) | class SpeedtestBestServerFailure(SpeedtestException):
class SpeedtestMissingBestServer (line 372) | class SpeedtestMissingBestServer(SpeedtestException):
function create_connection (line 376) | def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
class SpeedtestHTTPConnection (line 417) | class SpeedtestHTTPConnection(HTTPConnection):
method __init__ (line 421) | def __init__(self, *args, **kwargs):
method connect (line 432) | def connect(self):
class SpeedtestHTTPSConnection (line 452) | class SpeedtestHTTPSConnection(HTTPSConnection):
method __init__ (line 458) | def __init__(self, *args, **kwargs):
method connect (line 469) | def connect(self):
function _build_connection (line 518) | def _build_connection(connection, source_address, timeout, context=None):
class SpeedtestHTTPHandler (line 536) | class SpeedtestHTTPHandler(AbstractHTTPHandler):
method __init__ (line 540) | def __init__(self, debuglevel=0, source_address=None, timeout=10):
method http_open (line 545) | def http_open(self, req):
class SpeedtestHTTPSHandler (line 558) | class SpeedtestHTTPSHandler(AbstractHTTPHandler):
method __init__ (line 562) | def __init__(self, debuglevel=0, context=None, source_address=None,
method https_open (line 569) | def https_open(self, req):
function build_opener (line 583) | def build_opener(source_address=None, timeout=10):
class GzipDecodedResponse (line 619) | class GzipDecodedResponse(GZIP_BASE):
method __init__ (line 626) | def __init__(self, response):
method close (line 642) | def close(self):
function get_exception (line 649) | def get_exception():
function distance (line 656) | def distance(origin, destination):
function build_user_agent (line 675) | def build_user_agent():
function build_request (line 691) | def build_request(url, data=None, headers=None, bump='0', secure=False):
function catch_request (line 727) | def catch_request(request, opener=None):
function get_response_stream (line 748) | def get_response_stream(response):
function get_attributes_by_tag_name (line 765) | def get_attributes_by_tag_name(dom, tag_name):
function print_dots (line 776) | def print_dots(shutdown_event):
function do_nothing (line 791) | def do_nothing(*args, **kwargs):
class HTTPDownloader (line 795) | class HTTPDownloader(threading.Thread):
method __init__ (line 798) | def __init__(self, i, request, start, timeout, opener=None,
method run (line 816) | def run(self):
class HTTPUploaderData (line 833) | class HTTPUploaderData(object):
method __init__ (line 838) | def __init__(self, length, start, timeout, shutdown_event=None):
method pre_allocate (line 852) | def pre_allocate(self):
method data (line 869) | def data(self):
method read (line 874) | def read(self, n=10240):
method __len__ (line 883) | def __len__(self):
class HTTPUploader (line 887) | class HTTPUploader(threading.Thread):
method __init__ (line 890) | def __init__(self, i, request, start, size, timeout, opener=None,
method run (line 910) | def run(self):
class SpeedtestResults (line 935) | class SpeedtestResults(object):
method __init__ (line 948) | def __init__(self, download=0, upload=0, ping=0, server=None, client=N...
method __repr__ (line 971) | def __repr__(self):
method share (line 974) | def share(self):
method dict (line 1035) | def dict(self):
method csv_header (line 1051) | def csv_header(delimiter=','):
method csv (line 1061) | def csv(self, delimiter=','):
method json (line 1074) | def json(self, pretty=False):
class Speedtest (line 1086) | class Speedtest(object):
method __init__ (line 1089) | def __init__(self, config=None, source_address=None, timeout=10,
method best (line 1119) | def best(self):
method get_config (line 1124) | def get_config(self):
method get_servers (line 1240) | def get_servers(self, servers=None, exclude=None):
method set_mini_server (line 1366) | def set_mini_server(self, server):
method get_closest_servers (line 1420) | def get_closest_servers(self, limit=5):
method get_best_server (line 1440) | def get_best_server(self, servers=None):
method download (line 1516) | def download(self, callback=do_nothing, threads=None):
method upload (line 1591) | def upload(self, callback=do_nothing, pre_allocate=True, threads=None):
function ctrl_c (line 1684) | def ctrl_c(shutdown_event):
function version (line 1695) | def version():
function csv_header (line 1703) | def csv_header(delimiter=','):
function parse_args (line 1710) | def parse_args():
function validate_optional_args (line 1796) | def validate_optional_args(args):
function printer (line 1814) | def printer(string, quiet=False, debug=False, error=False, **kwargs):
function shell (line 1835) | def shell():
function main (line 1997) | def main():
FILE: src/math.js
function randomInt (line 40) | function randomInt(from, to) {
function pickRandom (line 47) | function pickRandom(list) {
function genMath (line 51) | function genMath(mode) {
Condensed preview — 117 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,371K chars).
[
{
"path": ".dockerignore",
"chars": 32,
"preview": "node_modules\n\npackage-lock.json\n"
},
{
"path": ".gitattributes",
"chars": 66,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
},
{
"path": ".github/FUNDING.yml",
"chars": 831,
"preview": "# These are supported funding model platforms\n\ngithub: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [u"
},
{
"path": ".npmignore",
"chars": 32,
"preview": "node_modules\n\npackage-lock.json\n"
},
{
"path": "Dockerfile",
"chars": 427,
"preview": "FROM fedora:37\n\nRUN sudo dnf -y update &&\\\n sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-f"
},
{
"path": "LICENSE",
"chars": 34503,
"preview": "GNU AFFERO GENERAL PUBLIC LICENSE\n Version 3, 19 November 2007\n\n Copyright (C) 2007 Free Software "
},
{
"path": "README.md",
"chars": 5578,
"preview": "<<<<<<< HEAD\n<a href=\"https://youtube.com/@zim-bot\"><img src=\"https://img.shields.io/badge/Tutorial-Video-ff0000?style=f"
},
{
"path": "Zimbot/gtts.js",
"chars": 4966,
"preview": "const request = require('request');\nconst escapeStringRegexp = require('escape-string-regexp');\nconst async = require('a"
},
{
"path": "Zimbot/index.js",
"chars": 65676,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/index2.js",
"chars": 61515,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/index3.js",
"chars": 62360,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/index4.js",
"chars": 27032,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/index5.js",
"chars": 70753,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/jadibot.js",
"chars": 1559,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/mediafire.js",
"chars": 1184,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "Zimbot/zimbotii.js",
"chars": 435,
"preview": "const usedCommandRecently = new Set()\n\n/**\n * Check is number filtered\n * @param {String} from\n */\nconst isFiltered = ("
},
{
"path": "Zimbot.js",
"chars": 274566,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ᴢɪᴍ ʙᴏᴛ ɪɴᴄ 2023 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "app.json",
"chars": 1062,
"preview": "{\n \"name\": \"Zim Bot Inc\",\n \"description\": \"whatsapp md bot build with nodejs\",\n \"repository\": \"https://github.com/zim"
},
{
"path": "bot.js",
"chars": 5793,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "bot_session/upload_your_creds.json_here",
"chars": 1,
"preview": "\n"
},
{
"path": "database/antilink.json",
"chars": 57,
"preview": "[\"120363041833611262@g.us\",\"27634090203-1632904922@g.us\"]"
},
{
"path": "database/balance.json",
"chars": 468,
"preview": "[{\"id\":\"6287705048235@s.whatsapp.net\",\"balance\":4827},{\"id\":\"6283152544875@s.whatsapp.net\",\"balance\":3062},{\"id\":\"160661"
},
{
"path": "database/ban.json",
"chars": 2,
"preview": "[]"
},
{
"path": "database/banned.json",
"chars": 2,
"preview": "[]"
},
{
"path": "database/database.json",
"chars": 2,
"preview": "{}"
},
{
"path": "database/glimit.json",
"chars": 2,
"preview": "[]"
},
{
"path": "database/inventori.json",
"chars": 1331,
"preview": "[{\"id\":\"6287705048235@s.whatsapp.net\",\"emas\":374,\"diamond\":123,\"besi\":683,\"ikan\":149},{\"id\":\"6283152544875@s.whatsapp.ne"
},
{
"path": "database/language.json",
"chars": 158,
"preview": "[\n {\n \"sender\": \"6285559038021@s.whatsapp.net\",\n \"lang\": \"id\"\n },\n {\n \"sender\": \"6281231480431@s.wh"
},
{
"path": "database/level.json",
"chars": 274,
"preview": "[{\"id\":\"923400971365@s.whatsapp.net\",\"xp\":0,\"level\":1},{\"id\":\"447441437150@s.whatsapp.net\",\"xp\":10656,\"level\":1},{\"id\":\""
},
{
"path": "database/leveluser.json",
"chars": 2,
"preview": "[]"
},
{
"path": "database/limit.json",
"chars": 2,
"preview": "[]"
},
{
"path": "database/userhit.json",
"chars": 2,
"preview": "[]"
},
{
"path": "database/welcome.json",
"chars": 31,
"preview": "[\n \"120363045262056237@g.us\"\n]"
},
{
"path": "drips.js",
"chars": 965,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "drips.yml",
"chars": 363,
"preview": "x-uffizzi:\n ingress:\n service: app\n port: 8080\n\nservices:\n app:\n build: .\n environment:\n NODE_ENV: st"
},
{
"path": "gitattributes",
"chars": 66,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n"
},
{
"path": "gitignore",
"chars": 32,
"preview": "node_modules\n\npackage-lock.json\n"
},
{
"path": "heroku.yml",
"chars": 68,
"preview": "build:\n docker:\n worker: Dockerfile\nrun:\n worker: npm start\n"
},
{
"path": "index.js",
"chars": 31048,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "level.js",
"chars": 2907,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "leveluser.json",
"chars": 114,
"preview": "[{\"id\":\"6283127014833@s.whatsapp.net\",\"xp\":1,\"level\":1},{\"id\":\"6281365814200@s.whatsapp.net\",\"xp\":6374,\"level\":2}]"
},
{
"path": "lib/ApkDown.js",
"chars": 1409,
"preview": "\n// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//"
},
{
"path": "lib/Dockerfile",
"chars": 251,
"preview": "FROM fusuf/whatsasena:latest\n\nRUN git clone https://github.com/zim-bot/zimbot-v4 /Drips/Zimbotv4\n\nWORKDIR /Drips/Zimbotv"
},
{
"path": "lib/antispam.js",
"chars": 384,
"preview": "\nconst usedCommandRecently = new Set();\n\nconst isFiltered = (from) => {\n return !!usedCommandRecently.has(from);\n};\n\n"
},
{
"path": "lib/binary.js",
"chars": 972,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/cloudDBAdapter.js",
"chars": 2055,
"preview": "\n// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//"
},
{
"path": "lib/color.js",
"chars": 284,
"preview": "\nconst chalk = require('chalk')\n\nconst color = (text, color) => {\n return !color ? chalk.green(text) : chalk.keyword("
},
{
"path": "lib/converter.js",
"chars": 2405,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/database.js",
"chars": 2179,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/dungeon.js",
"chars": 2444,
"preview": "[\n{\"result\": \"https://captain.ph/wp-content/uploads/elementor/thumbs/02BW053T1-full-orhl5ufhf1xjxg7jvzfgbp958hpu76oye7pa"
},
{
"path": "lib/exif.js",
"chars": 6717,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/fetcher.js",
"chars": 4358,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/image.js",
"chars": 327,
"preview": "[\n{\"result\": \"https://telegra.ph/file/6fac7d4b55a3d1b564b92.jpg\"},\n{\"result\": \"https://telegra.ph/file/1eb545f89e4f9ba4e"
},
{
"path": "lib/level.js",
"chars": 2907,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/levelling.js",
"chars": 1627,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/limit.js",
"chars": 6115,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/limit2.js",
"chars": 2628,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/limit3.js",
"chars": 6116,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/limitbb.js",
"chars": 2604,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/limitc.js",
"chars": 6115,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/lirik.js",
"chars": 1199,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/liyascrape.js",
"chars": 8679,
"preview": "\n// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//"
},
{
"path": "lib/lol.js",
"chars": 71735,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/lvlfunction.js",
"chars": 2903,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/mediafire.js",
"chars": 1161,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/mongoDB.js",
"chars": 1887,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/myfunc.js",
"chars": 11086,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/myfunc2.js",
"chars": 13482,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/namaku.js",
"chars": 328,
"preview": "[\n{\"result\": \"https://telegra.ph/file/2bb0a395354807f5c5130.jpg\"},\n{\"result\": \"https://telegra.ph/file/c7cf18eff3cd20a7f"
},
{
"path": "lib/nothing.js",
"chars": 145,
"preview": "[\n {\"result\": \"https://is3-ssl.mzstatic.com/image/thumb/Purple42/v4/80/b5/ff/80b5ff2e-6f18-e959-bae6-b33bd3d355a0/sou"
},
{
"path": "lib/random.js",
"chars": 68,
"preview": "[\n{\"result\": \"https://telegra.ph/file/15f31b4cfc964496cca33.jpg\"}\n]\n"
},
{
"path": "lib/rpg.js",
"chars": 566,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/rude.json",
"chars": 672,
"preview": "[\"mhata\",\"mhata yamai vako\",\"Dick\",\"dick\",\"rombe\",\"Rombe\",\"dhodhi\",\"Dodhi\",\"Duzvi\",\"Shure\",\"mwana wehure\",\"Mwana wehure\""
},
{
"path": "lib/scrape.js",
"chars": 59091,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/scrape2.js",
"chars": 5230,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/scrape3.js",
"chars": 63128,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/scrapedl.js",
"chars": 71774,
"preview": "\n// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//"
},
{
"path": "lib/scrapejoox.js",
"chars": 2721,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/scraper.js",
"chars": 8677,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/scraper2.js",
"chars": 1951,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/scraper3.js",
"chars": 8667,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/skiuwers.js",
"chars": 25979,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/tictactoe.d.ts",
"chars": 968,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/tictactoe.js",
"chars": 2970,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/tiktok.js",
"chars": 2567,
"preview": "\n// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//"
},
{
"path": "lib/uploader.js",
"chars": 3075,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/y2mate.js",
"chars": 3965,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "lib/ytdl.js",
"chars": 4009,
"preview": "\nconst fetch = require('node-fetch')\nconst cheerio = require(\"cheerio\");\nconst { JSDOM } = require('jsdom')\nconst fs = r"
},
{
"path": "lib/ytdl2.js",
"chars": 10700,
"preview": " const ytdl = require('youtubedl-core');\n const yts = require('youtube-yts');\n const readline = require('readline');\n co"
},
{
"path": "lib/zimbot",
"chars": 568,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "limit.js",
"chars": 6115,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "package.json",
"chars": 2746,
"preview": "{\n \"name\": \"zimbot-v4\",\n \"version\": \"4.0.1\",\n \"description\": \"Multi device wa bot created by Zim Bot Inc.\",\n \"main\":"
},
{
"path": "plugins/converter.js",
"chars": 2179,
"preview": "const { promises } = require('fs')\nconst { join } = require('path')\nconst { spawn } = require('child_process')\n\nfunction"
},
{
"path": "plugins/neoxrApi.js",
"chars": 6422,
"preview": "const { Function: Func } = new(require('blennie-drips'))\n\nmodule.exports = class NeoxrApi {\n baseUrl = 'https://api.ne"
},
{
"path": "plugins/sticker.js",
"chars": 6849,
"preview": "const { dirname } = require('path')\nconst { fileURLToPath } = require('url')\nconst fs = require('fs')\nconst path = requ"
},
{
"path": "plugins/tiktok.js",
"chars": 971,
"preview": "const axios = require(\"axios\");\nconst cheerio = require(\"cheerio\");\n\nconst clean = (data) => {\n let regex = /(<([^>]+)>"
},
{
"path": "plugins/uploadFile.js",
"chars": 1719,
"preview": "const fetch = rewuire('node-fetch')\nconst { FormData, Blob } = require('formdata-node')\nconst { fileTypeFromBuffer } = r"
},
{
"path": "plugins/uploadImage.js",
"chars": 751,
"preview": "const fetch = require('node-fetch')\nconst { FormData, Blob } = require('formdata-node')\nconst { fileTypeFromBuffer } = r"
},
{
"path": "replit",
"chars": 31,
"preview": "run = \"yarn\"\n\nstart = \"node .\"\n"
},
{
"path": "replit.nix",
"chars": 249,
"preview": "{ pkgs }: {\n\n\tdeps = [\t\tpkgs.nodejs-16_x\n\n pkgs.nodePackages.typescript-language-server\n\n pkgs.yarn\n\n "
},
{
"path": "rude.json",
"chars": 672,
"preview": "[\"mhata\",\"mhata yamai vako\",\"Dick\",\"dick\",\"rombe\",\"Rombe\",\"dhodhi\",\"Dodhi\",\"Duzvi\",\"Shure\",\"mwana wehure\",\"Mwana wehure\""
},
{
"path": "server.js",
"chars": 455,
"preview": "const express = require('express')\r\nconst server = express()\r\nconst fetch = require('node-fetch')\r\nconst PORT = process."
},
{
"path": "speed.py",
"chars": 65318,
"preview": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n# Copyright 2012 Matt Martz\n# All Rights Reserved.\n#\n# Licensed under t"
},
{
"path": "src/database.json",
"chars": 24875,
"preview": "{\n \"sticker\": {},\n \"database\": {},\n \"game\": {\n \"tebaklagu\": [],\n \"family100\": [],\n \"math\": [],\n \"tebakgam"
},
{
"path": "src/math.js",
"chars": 2077,
"preview": "// ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n//▮"
},
{
"path": "storage/user/alat_tukar.js",
"chars": 8666,
"preview": " // ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n/"
},
{
"path": "storage/user/buruan.js",
"chars": 9680,
"preview": " // ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n/"
},
{
"path": "storage/user/darah.js",
"chars": 2531,
"preview": " // ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n/"
},
{
"path": "storage/user/darah.json",
"chars": 2255,
"preview": "[{\"id\":\"6281575886399@s.whatsapp.net\",\"healt\":80},{\"id\":\"27634090203@s.whatsapp.net\",\"healt\":100},{\"id\":\"27634090203@s.w"
},
{
"path": "storage/user/hasil_buruan.json",
"chars": 4950,
"preview": "[{\"id\":\"6281575886399@s.whatsapp.net\",\"ikan\":1,\"ayam\":1,\"kelinci\":6,\"domba\":0,\"sapi\":0,\"gajah\":2},{\"id\":\"27634090203@s.w"
},
{
"path": "storage/user/inventory.json",
"chars": 5524,
"preview": "[{\"id\":\"6281575886399@s.whatsapp.net\",\"besi\":17,\"gold\":10,\"emerald\":7,\"umpan\":5,\"potion\":1},{\"id\":\"27634090203@s.whatsap"
},
{
"path": "storage/user/limit.js",
"chars": 2014,
"preview": " const fs = require('fs')\n let _limitOrg = JSON.parse(fs.readFileSync('./storage/user/limit.json'))\n let limitAwal = "
},
{
"path": "storage/user/limit.json",
"chars": 53,
"preview": "[{\"id\":\"6281575886399@s.whatsapp.net\",\"limit\":35022}]"
},
{
"path": "storage/user/monay.js",
"chars": 2588,
"preview": " // ⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈⧈\n//▮ZIM BOT INC 2022 ®️ALL RIGHTS RESERVED\n//▮\n//▮FORK AND DON'T FORGET TO GIVE A STAR\n//▮\n/"
},
{
"path": "storage/user/monay.json",
"chars": 356,
"preview": "[{\"id\":\"6281575886399@s.whatsapp.net\",\"monay\":1000},{\"id\":\"6281575886399@s.whatsapp.net\",\"monay\":-1224999000},{\"id\":\"628"
},
{
"path": "tez.js",
"chars": 6839,
"preview": "/*const NewsAPI = require('newsapi');\n const newsapi = new NewsAPI('306032cefd134ab38660d7db51dd18d1');\n //By Drips\n "
}
]
// ... and 1 more files (download for full content)
About this extraction
This page contains the full source code of the zim-bot/zimbot-v4 GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 117 files (1.2 MB), approximately 387.6k tokens, and a symbol index with 519 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.