Get SEO Meta-data from Websites
Project description
SEO Meta-Data
This a python module that helps you get SEO data on any website, you have to import it in your script and your good to go
Installation
Use the package manager pip to install foobar.
pip install seometa
Usage
import threading
from seometa import SEO, read_txt
def get_sublists(original_list, number_of_sub_list_wanted): # sublisting to use Threads
sublists = list()
for sub_list_count in range(number_of_sub_list_wanted):
sublists.append(original_list[sub_list_count::number_of_sub_list_wanted])
return sublists
def worker(websites, file_name):
for website in websites:
seo_keywords = SEO(website) # init the object eg. website = 'google.com'
seo_keywords.run(path=f'{file_name}.csv') # run the process by giving the save file
def main():
websites = read_txt('website.txt') # Reading websites from a text fole
file_name = input('File: ')
n = int(input('Threads: '))
all_websites = get_sublists(websites, n)
threads = []
for website_list in all_websites:
t = threading.Thread(target=worker, args=[website_list, file_name])
threads.append(t)
for thread in threads:
thread.start()
for thread in threads:
thread.join()
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seometa-0.0.1.7.tar.gz.
File metadata
- Download URL: seometa-0.0.1.7.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dce64a44cef50bacdf0b66f3c285d3aa6cddfca53fd3c1fe74de070b09a1c9aa
|
|
| MD5 |
bcf068773863aff641c927eb7dd57fae
|
|
| BLAKE2b-256 |
09caa96c6928c548da7ac3f69e5bd9ce31767479dd38ca8b2edb2ec2e5e50929
|
File details
Details for the file seometa-0.0.1.7-py3-none-any.whl.
File metadata
- Download URL: seometa-0.0.1.7-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66de0bb3957a06f043e11a8329576dd10376c879ce2a4ba511334db2ab4d9e67
|
|
| MD5 |
b05ded57d4289cd6f75ca8d51ff8f2fb
|
|
| BLAKE2b-256 |
fe6caae2d375a15661c297c4578f32ffaa00774e7ecdb69a2370430481844708
|