Make these changes in the cassandra.yaml config file:
start_rpc: true
rpc_address: 0.0.0.0
broadcast_rpc_address: [node-ip]
listen_address: [node-ip]
Make these changes in the cassandra.yaml config file:
start_rpc: true
rpc_address: 0.0.0.0
broadcast_rpc_address: [node-ip]
listen_address: [node-ip]
| from lxml import html | |
| import csv, os, json | |
| import requests | |
| from exceptions import ValueError | |
| from time import sleep | |
| def linkedin_companies_parser(url): | |
| for i in range(5): | |
| try: |
| #!/usr/bin/env python | |
| from datetime import datetime | |
| from time import time | |
| from lxml import html,etree | |
| import requests,re | |
| import os,sys | |
| import unicodecsv as csv | |
| import argparse | |
| def parse(locality,checkin_date,checkout_date,sort): |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Written as part of https://www.scrapehero.com/how-to-scrape-amazon-product-reviews-using-python/ | |
| from lxml import html | |
| import json | |
| import requests | |
| import json,re | |
| from dateutil import parser as dateparser | |
| from time import sleep |