Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seometa-0.0.1.6.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seometa-0.0.1.6-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file seometa-0.0.1.6.tar.gz.

File metadata

  • Download URL: seometa-0.0.1.6.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

Hashes for seometa-0.0.1.6.tar.gz
Algorithm Hash digest
SHA256 14a50ff5fb1f4be36a3950fd7acbedc867a9224cfdadc8f6341d5a4d4fb9b707
MD5 17d46e83869806c03c10c6bac8da4c99
BLAKE2b-256 dabe6c9e153888d35368b4d787e5d99f77fea1cdacc000343ffe5103112062f1

See more details on using hashes here.

File details

Details for the file seometa-0.0.1.6-py3-none-any.whl.

File metadata

  • Download URL: seometa-0.0.1.6-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

Hashes for seometa-0.0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 76d75378637150bb23ee05d8d8a3a8bd9cb00823f0bd4a0118af98a44a97d046
MD5 c75c2517afb36f3a7f6aabd254a43356
BLAKE2b-256 97e5e09a7403dd69b60b7076fe0ff677c81807078284ba87a9e2c2f5b67986c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page