Skip to main content

A small example package

Project description

Universal Web Scraping Code Created by AI

www.coprser.com

from coparser.amazon-com import *

if __name__ == '__main__':
        import lxml.html
        url='https://www.amazon.com/dp/B0D8GB6VRD/ref=sspa_dk_detail_2'
        html=get_html(url)
        tree = lxml.html.fromstring(html)
        result={}
        
        result['SellPrice']=extract_SellPrice(tree)
        result['ProductName']=extract_ProductName(tree)
        result['TotalReview']=extract_TotalReview(tree)
        result['Availability']=extract_Availability(tree)
        result['ProductImage']=extract_ProductImage(tree)
        result['AverageReview']=extract_AverageReview(tree)

        print(result)

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

coparser-0.0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

coparser-0.0.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file coparser-0.0.3.tar.gz.

File metadata

  • Download URL: coparser-0.0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for coparser-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cfc2c271a86862467a64a5be1cbce1e8a1a6c7860f25083944976de45fb2e14b
MD5 b52ffbe6ab9c08f4285c41c506c04e54
BLAKE2b-256 df380526c3b98df017a3265c682d639e5369e7ead5fadb2c0c125da30d3b62c5

See more details on using hashes here.

File details

Details for the file coparser-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: coparser-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.2

File hashes

Hashes for coparser-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 779b0eff4535eb152fa528ed7864ca6971cfd28155bb8b949ba156dbf014549f
MD5 78a92480983b590b532fd04ae29e05af
BLAKE2b-256 f18df63a4fbbc17d7d52128f704c47fd53c433e400f2f3c8be7e106d482898af

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