Skip to content

Instantly share code, notes, and snippets.

https://meet.google.com/gsy-yijb-qyh
"Microsoft.3DBuilder"
"Microsoft.BingFinance"
"Microsoft.BingNews"
"Microsoft.BingSports"
"Microsoft.BingWeather"
"Microsoft.Getstarted"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.Office.OneNote"
@riteshkawadkar
riteshkawadkar / install virtualenv ubuntu 16.04.md
Created June 1, 2022 20:14 — forked from Geoyi/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
from locale import currency
from freelancersdk.resources.projects import place_project_bid
from freelancersdk.session import Session
from freelancersdk.resources.users \
import get_self_user_id
from freelancersdk.resources.projects.projects import (
get_projects, get_project_by_id
)
from freelancersdk.resources.projects.helpers import (
create_get_projects_object, create_get_projects_project_details_object,
import requests
TELEGRAM_BOT_TOKEN = 'YOUR_TELEGRAM_BOT_TOKEN'
chat_id = "YOUR_GROUP_ID"
base_url = "https://api.telegram.org/bot" + YOUR_TELEGRAM_BOT_TOKEN
b = place_project_bid(session, **bid_data)
if b:
print('*********************')
print(("Bid placed: %s" % b))
p = sample_search_projects()
if p:
print('Found projects: {}'.format(p))
for x in p.get('projects'):
try:
bid = get_bids(session, **get_bids_data)
if bid:
print('Found bids: {}'.format(len(bid['bids'])))
if len(bid['bids']) < 20:
def sample_search_projects():
# create a session
session = Session(oauth_token=oauth_token, url=url)
# query string to filter jobs
query = 'scraper scraping scrape'
search_filter = create_search_projects_filter(
sort_field= 'time_updated', # sort jobs by descending order
min_avg_price=100, # only show jobs with in price of 100 USD
project_types='fixed', # only show jobs that has fixed budget, exclude hourly projects
url = os.environ.get('FLN_URL')
bid_description = '''
★★★ Scrapping / Python / Selenium Expert ★★★ 6+ Years of Experience ★★★
Please allow me to generate a few sample entries in order to gain your trust and satisfaction. I have reviewed your project requirements closely and can help you with this. We can discuss also the complexity of the project so I can provide you with a realistic ETA and feel free to contact me through chat to talk about your project in more detail.
I have extensive knowledge of web scrapping with Python,scrapy, BeautifulSoup, Selenium. My extensive experience with web scraping using IP proxy rotation, multi thread and Bypassing captcha. You can see my past work on freelancer and on github.
I'll be glad to discuss project before start so let's chat.
Thanks for your consideration.
from locale import currency
from freelancersdk.resources.projects import place_project_bid
from freelancersdk.session import Session
from freelancersdk.resources.users \
import get_self_user_id
from freelancersdk.resources.projects.projects import (
get_projects, get_project_by_id
)
from freelancersdk.resources.projects.helpers import (
create_get_projects_object, create_get_projects_project_details_object,