I hereby claim:
- I am kadnan on github.
- I am kadnan (https://keybase.io/kadnan) on keybase.
- I have a public key ASAHNs8LV2Ck6XIFQPi-XKiD1amTKsrvPY8RTrvsBr13lwo
To claim this, I am signing this object:
{ | |
"ticket_data": { | |
"fduid": 47052829709, | |
"fdcompanyid": 47001498172, | |
"subject": "#33644| Website Work-> Webpages: Podcast Takeover (Healthcare Amplified-Sabrina Runbeck)", | |
"status": 10, | |
"source": 2, | |
"body": "please build out this sales page \n the first half of the sentence make it like a moving word similar to what you did for this heading https://www.pulsepointvisibilityengine.com/podamplify \n \n see design page 1 & 2 are continouation of each other and FAQs make them when click down then will show the words \n https://drive.google.com/drive/folders/1psqA7OxK35CgT2ijyH0kEGycLp19CFzb?usp=drive_link Which page needs updating? build out sales page What platform is this site built on? go.hilevel Please provide the meta-keywords \nShort-tail Keywords:\n\nPodcast series\nHealthcare authority\nPodcast takeover\nHealthcare business podcast\nPharma leaders podcast\nClinical practice podcast\n\nLong-tail Keywords:\n\nElevate healthcare expertise th |
version: '2' | |
services: | |
cas1: | |
container_name: cas1 | |
image: cassandra:latest | |
volumes: | |
- /Development/PetProjects/CassandraTut/data/node1:/var/lib/cassandra/data | |
ports: | |
- 9042:9042 |
I hereby claim:
To claim this, I am signing this object:
import requests | |
from bs4 import BeautifulSoup | |
from python_anticaptcha import NoCaptchaTaskProxylessTask, AnticaptchaClient | |
def get_token(s_key): | |
client = AnticaptchaClient(api_key) | |
task = NoCaptchaTaskProxylessTask(website_url=url, | |
website_key=s_key.strip()) | |
job = client.createTask(task) |
import json | |
from time import sleep | |
from kafka import KafkaConsumer | |
if __name__ == '__main__': | |
parsed_topic_name = 'parsed_recipes' | |
# Notify if a recipe has more than 200 calories | |
calories_threshold = 200 |
import json | |
from time import sleep | |
from bs4 import BeautifulSoup | |
from kafka import KafkaConsumer, KafkaProducer | |
def publish_message(producer_instance, topic_name, key, value): | |
try: | |
key_bytes = bytes(key, encoding='utf-8') |
def fetch_raw(recipe_url): | |
html = None | |
print('Processing..{}'.format(recipe_url)) | |
try: | |
r = requests.get(recipe_url, headers=headers) | |
if r.status_code == 200: | |
html = r.text | |
except Exception as ex: | |
print('Exception while accessing raw html') | |
print(str(ex)) |
def publish_message(producer_instance, topic_name, key, value): | |
try: | |
key_bytes = bytes(key, encoding='utf-8') | |
value_bytes = bytes(value, encoding='utf-8') | |
producer_instance.send(topic_name, key=key_bytes, value=value_bytes) | |
producer_instance.flush() | |
print('Message published successfully.') | |
except Exception as ex: | |
print('Exception in publishing message') | |
print(str(ex)) |