Skip to main content

second hand macbook pro price in Taiwan.

Project description

MBPPrice

image image

MBPPrice用來抓取二手Macbook Pro的價格和相關資訊

Setup

pip install mbpprice

Utility

# 搜尋 PTT 二手 Macbook Pro 資訊
python3 -m mbpprice search ptt

Example

from mbpprice.search import MBPSearch


results = MBPSearch('ptt').list(limit=10)
for (i, item) in enumerate(results):
    print('{:03d}: {}'.format(i, item['url']))
    print('價格: {}'.format(item['price']))
    print(
        '年份: {} / 螢幕尺寸: {} / 電池循環: {}'.format(item['year'], item['screen'], item['bat_count']))
    print(
        'CPU: {} / RAM: {} / 硬碟容量: {}'.format(item['cpu'], item['ram'], item['hdd']))
    print()

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

mbpprice-0.0.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

mbpprice-0.0.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mbpprice-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.0

File hashes

Hashes for mbpprice-0.0.3.tar.gz
Algorithm Hash digest
SHA256 66e5ea26519f5d857affad204da8f18715f8132ce3c69b4fcf50ae971e3eb601
MD5 ec16da14af8871e75520d95fbf59869d
BLAKE2b-256 6032308c39b460f540757dec386b33a517502b74599e6a77137de5d6bfbdddb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mbpprice-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.0

File hashes

Hashes for mbpprice-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ef82c360ce0f0a021806075197d9689ed09a413dab5f7316e3d6093a1c7bd8f
MD5 4d759ca84429ff5304ea5024bd07eecb
BLAKE2b-256 27cd6bd509f183c5ddb54da29c321b12e834ad78667a4088b0dacbe2385dc287

See more details on using hashes here.

Supported by

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