Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Dynamically changing Xpath
Post: RE: Dynamically changing Xpath
(Jun-17-2021, 12:57 PM)snippsat Wrote: Your code what can i say could be a lot better.
There are many loops,but a many are unnecessary and code still repeating to much in the loops🥨
When code start ... |
|
AgileAVS |
Web Scraping & Web Development |
3 |
1,998 |
Jun-17-2021, 02:33 PM |
|
|
Thread: Dynamically changing Xpath
Post: Dynamically changing Xpath
Hey I have been trying to extract data from table from this website:
https://www.macrotrends.net/stocks/chart...ial-ratios
but the problem is that every time the page refreshes, the full Xpath also c... |
|
AgileAVS |
Web Scraping & Web Development |
3 |
1,998 |
Jun-17-2021, 10:03 AM |
|
|
Thread: Send Keys Error?
Post: Send Keys Error?
Hey I have not been able to send date from the drop list in this website:
Here is my code:
1.Even if I .click(), it shows error Error:NoneType has no attribute click2.When I also add .clear(), it sho... |
|
AgileAVS |
Web Scraping & Web Development |
0 |
1,560 |
Oct-06-2020, 07:53 AM |
|
|
Thread: single range function
Post: RE: single range function
(Oct-05-2020, 08:04 AM)ndc85430 Wrote: What exactly do you mean? What would you expect that code to do if it were possible to write it? Also, why do you need to do something like this? Please give d... |
|
AgileAVS |
Web Scraping & Web Development |
3 |
2,053 |
Oct-05-2020, 08:12 AM |
|
|
Thread: single range function
Post: single range function
Hey I need help to create multiple loops in a single statement as:
'''for n1,n2,n3 in range(1,501):
........code'''
**TypeError: cannot unpack non-iterable int object** |
|
AgileAVS |
Web Scraping & Web Development |
3 |
2,053 |
Oct-05-2020, 07:54 AM |
|
|
Thread: Defining function in selenium
Post: RE: Defining function in selenium
(Jul-01-2020, 10:06 AM)Larz60+ Wrote: example:
from selenium import webdriver
from selenium.webdriver.common.by import By
...
browser.find_element(By.XPATH, '/html/body/div[1]/div[2]/div[1]/div/sv... |
|
AgileAVS |
Web Scraping & Web Development |
3 |
1,985 |
Jul-01-2020, 01:09 PM |
|
|
Thread: Defining function in selenium
Post: Defining function in selenium
Hey I am very early at programming but the problem is I am having a lot of trouble while defining functions. This has made my code pages and pages long.
How do I define a function that Searches an el... |
|
AgileAVS |
Web Scraping & Web Development |
3 |
1,985 |
Jul-01-2020, 09:22 AM |
|
|
Thread: Object not Subscriptable
Post: Object not Subscriptable
Help post:
How do you select the second or third element with the same class name while using selenium?
For instance,
Trial=browser.find_element_by_class_name(‘indicator-diamond’)[1]
Output: TypeE... |
|
AgileAVS |
Web Scraping & Web Development |
2 |
7,275 |
Mar-19-2020, 11:06 AM |
|
|
Thread: .Format Help
Post: .Format Help
company_name=('ADBL','NABIL')
for page in company_name:
url2= 'https://login.systemxlite.com/equity/{}'.format(page)This is the beginning of the code and few mathematical operators and codes follo... |
|
AgileAVS |
General Coding Help |
1 |
1,384 |
Mar-06-2020, 03:11 AM |
|
|
Thread: Mathematical Operators in String
Post: Mathematical Operators in String
Hey this is a very simple question, how do I use mathematical numbers in text such as 1,000.00 and 9,000.00.
For example:
x=float(1,000.00)
y=float(19,000.00)
print(x*y)Error:Traceback (most recent ca... |
|
AgileAVS |
General Coding Help |
1 |
2,343 |
Mar-04-2020, 12:41 PM |
|
|
Thread: Selenium Random Elements Id and class
Post: Selenium Random Elements Id and class
I have been trying to extract data using selenium from a website that I have an id:
https://login.systemxlite.com/
But the problem is that every time I refresh the page. it shows up new element id an... |
|
AgileAVS |
Web Scraping & Web Development |
1 |
3,667 |
Mar-01-2020, 06:06 AM |
|
|
Thread: Follow Up: Web Calendar based Extraction
Post: Follow Up: Web Calendar based Extraction
Hey, I am not a programmer but thanks to this forum, I have been learning a lot. Continuing on with my last time question to this link:
https://python-forum.io/Thread-Extractin...m-Calendar
I did lear... |
|
AgileAVS |
Web Scraping & Web Development |
0 |
1,468 |
Feb-23-2020, 05:39 AM |
|
|
Thread: Extracting Data from Calendar
Post: RE: Extracting Data from Calendar
(Feb-15-2020, 08:35 PM)snippsat Wrote: Look at Web-scraping part-2 God dammit JavaScript, why do i not get all content.
So Selenium would work.
Here a way it can be done if looking at site and try ... |
|
AgileAVS |
Web Scraping & Web Development |
2 |
3,674 |
Feb-16-2020, 01:06 PM |
|
|
Thread: Extracting Data from Calendar
Post: Extracting Data from Calendar
I have a problem in scraping data from website which do not change the URLs when we choose data from ceratin dates with the calendar option given on the website. I have tried opening up the Network op... |
|
AgileAVS |
Web Scraping & Web Development |
2 |
3,674 |
Feb-15-2020, 04:22 PM |
|
|
Thread: Web Scraping, Merging two lists and getting data from various dates?
Post: Web Scraping, Merging two lists and getting data f...
import urllib.request, urllib.parse, urllib.error
import re
import requests
from bs4 import BeautifulSoup
fhand = urllib.request.urlopen('https://www.sharesansar.com/today-share-price')
html = fhand
... |
|
AgileAVS |
Web Scraping & Web Development |
0 |
1,820 |
Feb-07-2020, 04:05 PM |
|
|
Thread: For Research
Post: For Research
Hello to any one who is reading this,
I am actually trying to scrape data from the internet regarding stock prices and number of shares traded to develop an algorithm for my academic research. I have ... |
|
AgileAVS |
General Coding Help |
1 |
1,583 |
Feb-06-2020, 02:50 PM |
|
|
Thread: Print only nth line
Post: Print only nth line
FOR EXAMPLE THE FILE IS AS FOLLOWS:
[b]<td class="text-center">28,426</td>
<td class="text-center">240</td>
<td class="text-center">6,893,221</td>
Now say, I us... |
|
AgileAVS |
General Coding Help |
2 |
2,544 |
Feb-05-2020, 03:17 PM |
|
|
Thread: Cannot Extract data through charts online
Post: Cannot Extract data through charts online
Hey, actually I have been trying my best to extract data from charts (called as technical analysis charts which I have paid for) . The problem I have been facing is that there are options to select nu... |
|
AgileAVS |
Web Scraping & Web Development |
0 |
1,809 |
Feb-01-2020, 01:47 PM |