skip to Main Content

Scraping Ebay, working until I use it in sold items

I will use this code to explain my doubt: Using the url without sold filter import requests from bs4 import BeautifulSoup import pandas as pd import numpy as np url = "https://www.ebay.es/sch/i.html?_from=R40&_trksid=p2334524.m570.l1313&_nkw=iphone+x&_sacat=0&LH_TitleDesc=0&_udlo=400&LH_Auction=1&_osacat=0&_odkw=Pok%C3%A9mon+card+Charizard+4%2F102&rt=nc" r = requests.get(url) soup = BeautifulSoup(r.text, "html.parser") results…

VIEW QUESTION

PyTelegramBotApi – how to stop one function if other function is running? – Telegram API

I am trying to do an optional input, and have this code bot.send_chat_action(message.from_user.id, 'typing') markup = types.InlineKeyboardMarkup() markup.add(types.InlineKeyboardButton("Лечу только в одну сторону", callback_data="one_way")) msg = bot.send_message(message.from_user.id, '✅Хорошо. Теперь введите дату возвращения:', reply_markup=markup) bot.register_next_step_handler(msg, get_return_date) This code sends user a message…

VIEW QUESTION
Back To Top
Search