This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Form implementation generated from reading ui file 'ventana_principal.ui' | |
# | |
# Created by: PyQt5 UI code generator 5.10.1 | |
# | |
# WARNING! All changes made in this file will be lost! | |
from PyQt5 import QtCore, QtGui, QtWidgets | |
from ventana_secundaria import Ui_ventana_secundaria |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
URL_BASE = 'http://example.webscraping.com' | |
peticion = requests.get(URL_BASE) | |
sopa = BeautifulSoup(peticion.content, 'html.parser') | |
paises = sopa.find_all(class_="span12")[1].find(id="results") | |
for pais in paises.find_all('a'): | |
nom = pais.text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding: utf-8 -*- | |
from kivy.lang import Builder | |
from plyer import gps | |
from kivy.app import App | |
from kivy.properties import StringProperty, NumericProperty, ObjectProperty, ListProperty | |
from kivy.clock import Clock, mainthread | |
import kivy.garden.mapview | |
from kivy.garden.mapview import MapView, MapMarker | |
import threading |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
import csv | |
from datetime import datetime | |
def scrape_amazon_bestsellers(): | |
url = "https://www.amazon.com/best-sellers-books-Amazon/zgbs/books/" | |
headers = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
import csv | |
from datetime import datetime | |
def scrape_amazon_bestsellers(): | |
url = "https://www.amazon.com/best-sellers-books-Amazon/zgbs/books/" | |
headers = { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.