Skip to content

Import craigslist ads to opensource classified framework osclass

Notifications You must be signed in to change notification settings

akhan23wgu/craigslist-to-osclass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

craigslist-to-osclass

Import craigslist ads to opensource classified framework osclass using python and osclass plugin Ad Importer https://market.osclass.org/plugins/ad-management/ad-importer_53.

Requires providing a CSV file of desired listings to add, will also dig up reply email address.

Dependencies

  • BautifulSoup

Files

  • xmlMaker.py - python script that builds the XML file used by "Ad Importer" plugin

  • urls.csv - CSV file used by xmlMaker.py sample file

    • Column A - Listing URL
    • Column B - Category #must match your category spelling or a new category will be created
    • Column C - City #will use craigslist region if nothing is present
    • Column D - Region #I use Region as State in my osclass
    • Column E - Custom Fields
    • Column F - Phone Number #Appended after content
  • craigslist.xml - XML file create by xmlMaker.py

Directions

  • Meet dependencies - pip install bs4
  • Create the CSV of URLS
  • Run xmlMaker.py
  • Goto osclass admin / Plugins / Ad Importer / upload the craigslist.xml file

About

Import craigslist ads to opensource classified framework osclass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%