ArthurG / Kijiji Repost Headless
Licence: mit
Repost / Post Kijiji ads with Python
Stars: ✭ 128
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to Kijiji Repost Headless
Ancientwarfare2
Ancient Warfare Mod for Minecraft 1.12.x
Stars: ✭ 125 (-2.34%)
Mutual labels: automation
Ttv aderaser
TTV AdEraser aims to remove livestream ads as well as add some useful features to our favourite streaming site.
Stars: ✭ 122 (-4.69%)
Mutual labels: ads
Awesome Python Scripts
A curated collection of some 😍 cool Python scripts.
Stars: ✭ 128 (+0%)
Mutual labels: automation
Aquatouch
Dynamic Custom Macros for your MacBook TouchBar! (Supports 40+ Apps and Websites)
Stars: ✭ 125 (-2.34%)
Mutual labels: automation
Terraform Aws Spotgpu
Fully automated provisioning of AWS EC2 Spot Instances for Deep Learning workloads using Terraform.
Stars: ✭ 127 (-0.78%)
Mutual labels: automation
Chatter
internet monitoring osint telegram bot for windows
Stars: ✭ 123 (-3.91%)
Mutual labels: automation
Enroute
EnRoute Universal Gateway: Cloud Native API gateway with OpenAPI support and free L7 rate-limiting built on Envoy proxy
Stars: ✭ 126 (-1.56%)
Mutual labels: automation
Bhban rpa
6개월 치 업무를 하루 만에 끝내는 업무 자동화(생능출판사, 2020)의 예제 코드입니다. 파이썬을 한 번도 배워본 적 없는 분들을 위한 예제이며, 엑셀부터 디자인, 매크로, 크롤링까지 업무 자동화와 관련된 다양한 분야 예제가 제공됩니다.
Stars: ✭ 124 (-3.12%)
Mutual labels: automation
Sigir2020 peterrec
Parameter-Efficient Transfer from Sequential Behaviors for User Modeling and Recommendation
Stars: ✭ 121 (-5.47%)
Mutual labels: ads
Node Bacstack
A BACnet protocol stack written in pure JavaScript
Stars: ✭ 125 (-2.34%)
Mutual labels: automation
Homebridge Dacp
Remotely control Apple TV and iTunes via HomeKit.
Stars: ✭ 128 (+0%)
Mutual labels: automation
Kijiji Repost Headless
Post ads on Kijiji
Setup
- This project requires python3 with: python-requests, bs4, pyyaml
- Run
pip3 install -r requirements.txt
to install all dependencies
Requirements
- The program currently requires that you post at LEAST one photo
- As per Kijiji requirements, the item description must be at least 10 characters
Usage
Getting your SSID
Before posting an ad, you will need to manually get your Kijiji SSID.
- Log into Kijiji in your browser. Make sure "remember me" is checked.
- Inspect the cookies that have been set by Kijiji for your browser.
- Find the cookie named "ssid" and copy its value.
- Paste the value into the "ssid.txt" file.
Generating an ad posting file
- Generate a posting file (item.yml) with the command
python kijiji_repost_headless build_ad
and follow the prompts - Place all photo dependencies in the path RELATIVE to item.yml
- It is recommended that you create separate folders for each ad that you wish to post and include item.yml and photos in the same directory
Posting and Reposting an ad
Post one ad (item.yml):
python kijiji_repost_headless [-s ssid_file] post myproduct/item.yml
Repost one ad (item.yml); will delete the ad prior to posting if it already exists:
python kijiji_repost_headless [-s ssid_file] repost myproduct/item.yml
Show all active ads:
python kijiji_repost_headless [-s ssid_file] show
Delete all ads:
python kijiji_repost_headless [-s ssid_file] nuke
Delete one ad (using ad id):
python kijiji_repost_headless [-s ssid_file] delete myAdId
Project Structure
project
│ README.md
│ LICENSE
│ requirements.txt
│
└───kijiji_repost_headless
│ │ kijiji_api.py -> Interfaces with Kijiji
│ │ generate_post_file.py -> Makes item.yml
│ │ get_ids -> Used for retreiving kijiji location data
│ │ kijiji_categories_attr.json -> Finds out what properties each item has
│ │ kijiji_categories_attr.json -> Finds out what properties each item has
│ │ save_attribute_map_to_json.py -> Remakes kijiji_categories_attr.json
│ │ __main__.py -> Wraps kijiji_api.py for ease of use from command line, file is run when 'python kijiji_repost_headless' is run
│ │
└───tests
Issues
Please open a GitHub issue or pull request if you discover problems.
TODO
- Better error handling
- Avoid reuploading the same pictures again and again
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].