MetaFinder - Metadata search through Search Engines
Project description
MetaFinder - Metadata search through Search Engines
Installation:
> pip3 install metafinder
Upgrades are also available using:
> pip3 install metafinder --upgrade
Usage
MetaFinder can be used in 2 ways:
CLI
metafinder -d domain.com -l 20 -o folder [-t 10] -go -bi -ba
Parameters:
- d: Specifies the target domain.
- l: Specify the maximum number of results to be searched.
- o: Specify the path to save the report.
- t: Optional. Used to configure the threads (4 by default).
- v: Show Metafinder version.
- go: Optional. Search in Google. (Default)
- bi: Optional. Search in Bing.
- ba: Optional. Search in Baidu. (Experimental)
In Code
import metafinder.extractor as metadata_extractor
documents_limit = 5
domain = "target_domain"
result = metadata_extractor.extract_metadata_from_google_search(domain, documents_limit)
# result = metadata_extractor.extract_metadata_from_bing_search(domain, documents_limit)
# result = metadata_extractor.extract_metadata_from_baidu_search(domain, documents_limit)
authors = result.get_authors()
software = result.get_software()
for k,v in result.get_metadata().items():
print(f"{k}:")
print(f"|_ URL: {v['url']}")
for metadata,value in v['metadata'].items():
print(f"|__ {metadata}: {value}")
document_name = "test.pdf"
try:
metadata_file = metadata_extractor.extract_metadata_from_document(document_name)
for k,v in metadata_file.items():
print(f"{k}: {v}")
except FileNotFoundError:
print("File not found")
Author
This project has been developed by:
- Josué Encinar García -- https://twitter.com/JosueEncinar
Contributors
- Félix Brezo Fernández -- https://twitter.com/febrezo
Disclaimer!
The software is designed to leave no trace in the documents we upload to a domain. The author is not responsible for any illegitimate use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metafinder-1.2.tar.gz
(11.5 kB
view details)
File details
Details for the file metafinder-1.2.tar.gz
.
File metadata
- Download URL: metafinder-1.2.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 066d901d2eebf7d28d8c010a95be91a5b939154a919018045f502c145638b3a3 |
|
MD5 | ec33a1fa4b3f5f1026cd0d15acdeb027 |
|
BLAKE2b-256 | 886bc382465a51de8dff2b96d0991ac3ed66c639a30538ec7be876c055a2a0f8 |