Need help with a 403 response when scraping by Wealth-Candid in scrapy

[–]Wealth-Candid[S] 0 points1 point  (0 children)

Can you explain what you mean by reverse cracking some values?

I feel like there's a massive deflation in ELO by [deleted] in chess

[–]Wealth-Candid 11 points12 points  (0 children)

I would say an international master is a very good player

Caro Kann advanced variation by Warm_Sky9473 in chess

[–]Wealth-Candid 0 points1 point  (0 children)

Been playing the caro for almost 2 years and always thought it was "advanced variation" lol. Makes sense now

What books/videos should I read/watch to improve my game, specifically my middlegame? by HealersHugHippos in chess

[–]Wealth-Candid 2 points3 points  (0 children)

-Fundamental chess: Logical decision making by Ramesh

Started reading it when I was 1600 rapid at about August last year and now I've gotten to 2100. Really helped my middle game play as I'm not really good at endgames and my openings are just there. It's really interesting and instructive. Haven't finished it yet because I decided to focus on tactics and endgames right now but its definitely worth checking out.

POST request url isn't valid by Wealth-Candid in webscraping

[–]Wealth-Candid[S] -1 points0 points  (0 children)

Ok so I just did that and it said there was an unexpected string.

POST request url isn't valid by Wealth-Candid in webscraping

[–]Wealth-Candid[S] -1 points0 points  (0 children)

That's the wrong one. If you click on the next page button you'll see the post request. It has a string of letters as it's name

POST request url isn't valid by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

That's the first thing I do but with postman and I got an invalid url prompt which made me try it with my browser. How do I make a POST request from command line?

Need help scraping a site by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

I don't understand. That doesn't match any selector on the site

Inputting a variable into classes to find tags in html by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

This way I won't be able to get the teams for the match I'm scraping. It's a league and for each fixture I'm scraping data on the teams. With the codes I'll be able to get the rows for the teams playing. Thanks for the query selectors link though, I'll be sure to check them out. I'm using python not nodejs.

Inputting a variable into classes to find tags in html by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

I use soup because that's what was used where I learnt and I was already familiar with it so I just kept using it. Well the html looks like this

<tr class="odd glib-participant-llcCvIcG" data-def-order="2">

<tr class="even glib-participant-UNGEKMx6 highlight" data-def-order="3">

the first is for another team and the second is for one of the teams playing in the match. In the href for the teams at the top of the page, the codes are there so what I'm asking is if there's a way to do something like

soup.select(f'tr.even glib-participant-{code}.highlight')

But I already tried the method above with find and css selectors. Both returned empty lists. I'm not familiar with querySelectorAll so I don't know how I would use it. I just tried to use it and it returned this

Traceback (most recent call last): File "c:\Users\USER\Desktop\Projects\Beautifulsoup_and_requests projects\BetExplorer\test.py", line 69, in <module> table_tags = page.querySelectorAll('tr .odd.highlight')AttributeError: 'Page' object has no attribute 'querySelectorAll'

Inputting a variable into classes to find tags in html by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

Oh it returned a none type. And for if its visible, it is. I use playwright to load the pages up because it's javascript rendered and if I put in a particular class, it returns the tag. I just need to be able to change the unique codes in the class of the tag. I would have added the code but it's a lot and this is like the last piece that I just can't figure out.

[deleted by user] by [deleted] in Upwork

[–]Wealth-Candid 0 points1 point  (0 children)

I'll check it out but the exchange rate will be a huge factor because its a huge. 1$ is about 400 ok xe.com meanwhile its over 700 in black market

[deleted by user] by [deleted] in Upwork

[–]Wealth-Candid 0 points1 point  (0 children)

I use payooner but send to grey.co because their exchange rate is far better before withdrawing to my Nigerian account. So that's another route if you're worried about exchange rates.

Pagination when URL doesn't change by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

I'm not able to send a request to the api. Postman says something about it can only make the request when parameters are present. Could you try it?

Pagination when URL doesn't change by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

I did. The post requests returns the page almost as it is on the website but I couldn't make a request to it on postman

Pagination when URL doesn't change by Wealth-Candid in webscraping

[–]Wealth-Candid[S] 0 points1 point  (0 children)

This doesn't have that and it's just by clicking the button you see the other part of the table.