Skip to main content

Craigslist Watcher

Description

Emails a list of urls to new posts found on craigslist page.

Installation

pip install craigslist-watcher

or

pipenv install craigslist-watcher

Arguments

  1. url - The craigslist page to watch
  2. email-to-addr/email_to_addr - The email to send the new posts to.
  3. email-from-addr/email_from_addr - The email to send the new posts from.
  4. email-password/email_password - The password for the email-from account.
  5. email-host/email_host - The ip/hostname of the email provider.
  6. email-port/email_port - The port to send the smtp message over.
  7. email-subject/email_subject - The subject of the emails that are sent.
  8. watch-interval/watch_interval - The number of seconds between each watch.
  9. watch-duration/watch_duration - The number of minutes to do all watching for.

Usage

>> craigslist_watcher --url "https://southcoast.craigslist.org/search/jjj?query=&excats=&cat_id=11&userid=&postedToday=1&search_distance=&postal=" --email-to-addr "recipient_email_here@gmail.com" --email-from-addr "sending_email_here@gmail.com" --email-password "123456789" --email-host "smtp.gmail.com" --email-port 587 --email-subject "New craigslist posts" --watch-duration 1 --watch-interval 30
from craigslist_watcher import Watcher

watcher = Watcher(
    url="https://southcoast.craigslist.org/search/jjj?query=&excats=&cat_id=11&userid=&postedToday=1&search_distance=&postal=",
    email_to_addr="recipient_email_here@gmail.com",
    email_from_addr="sending_email_here@gmail.com",
    email_password="123456789",
    email_host="smtp.gmail.com",
    email_port=587,
    email_subject="New craigslist posts",
    watch_duration=1,
    watch_interval=30
)

watcher.start()

Metadata

Release files for craigslist-watcher 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for craigslist-watcher 0.1.1
File Size Uploaded
craigslist_watcher-0.1.1.tar.gz 7.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for craigslist-watcher 0.1.1
File Interpreter ABI Platform
craigslist_watcher-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.1 kB

Release files / craigslist_watcher-0.1.1.tar.gz

Download URL craigslist_watcher-0.1.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c5c961f55623c53ccc25bbbcbbc889fd68bbcd12c0076231ffd0620e1c3e99b7
BLAKE2b-256 checksum
How to use checksums
5c12622b1377436f6ee8df56111d1d05427d3c3fb0e63785424b49a8f647597e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release files / craigslist_watcher-0.1.1-py3-none-any.whl

Download URL craigslist_watcher-0.1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
032ca1ff3eae928d3b49bd0ce74dc0ff6fbf7040b2b320daf1b5b054444b0214
BLAKE2b-256 checksum
How to use checksums
fd0ec188aad40636a72418e16df8b5b9d0a191eefc0e72aa410b1943427798b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page