Quantcast
Channel: User Bijan - Stack Overflow
Browsing all 44 articles
Browse latest View live

Comment by Bijan on Python Login to UPS.com returns 403

@degemenc No, I had to make some changes. Now I am using the undetected-chromedriver in headless mode and just intercept the request that returns the package list in JSON format.

View Article



Comment by Bijan on Include CSS and Javascript in specific Modx page

The code is removed even when wrapped in <code> tags. Wouldnt adding script/style to extended_valid_elements pose a security issue?

View Article

Comment by Bijan on Converting Json to pd

Does this answer your question? Python - Json List to Pandas Dataframe

View Article

Comment by Bijan on SQL INSERT but increment ID if exist without having to do...

@forpas Its not constrained in table definition but an ID should not have the same code multiple times.

View Article

Comment by Bijan on APScheduler Set misfire_grace_time globally

@AlexGrönholm it just says job.misfire_grace_time not exist

View Article


Comment by Bijan on Pandas Query astype(str)

@RomanPerekhrest My query is actually more complex and it is easier to use .query() however I am having problem with the column being cast as int or text.

View Article

Comment by Bijan on Website returning 403 when POSTing URL ending with...

@TangentiallyPerpendicular I removed everything in my .htaccess file and it still returned 403 error.

View Article

Comment by Bijan on Pandas Join Rows If Time Is Continuous

@Nick not for my use case, this is used to create calendar events.

View Article


Comment by Bijan on Power Automate Try multiple API Keys until success

@Skin I included the part of the flow I am trying to loop through. I want to perform the HTTP download step iterating through multiple API Keys until the statuscode != 401

View Article


Comment by Bijan on Age in Years and Days

floor(days/365) years, days % 365 days

View Article

Comment by Bijan on Power Automate Handle ñ foreign character in filename

The server I am downloading from reports the Contest-Disposition as attachment; filename*=UTF-8''Filename with %C3%B1.pdf. Splitting by " does nothing because there is no double quote in this string

View Article

Comment by Bijan on Syntax error simple python program confused

It's probably your indentation (or lack of it)

View Article

Comment by Bijan on How can I append a variable number of blank rows to a...

Might be better to use concat

View Article


Comment by Bijan on Telegram Bot "chat not found"

@elliotching i said in my original post.. I got myuserid by sending /getid to @myidbot

View Article

Comment by Bijan on Python Requests Login Automation

@D.L There is nothing UPS offers for the usage I am looking for.

View Article


PayPal Buttons and Webhook integration

I have a Paypal Button setup with the following code: paypal.Buttons({ createSubscription: function(data, actions) { return actions.subscription.create({'plan_id': 'P-PLANID' }); }, onApprove:...

View Article

Horizontal Scrollbar Always On Top Of DataTable

I have a webpage that displays a DataTable. I found this solution to make the horizontal scrollbar appear on top. (Example can be found here)Here is the CSS that moves it to the...

View Article


Pandas Convert Dataframe to Employee/Supervisor Hierarchy

I have a dataframe that is very similar to this question with the caveat that:An employees level is not knownThe order of employees is randomBecause of (1) and (2), there may instances where the...

View Article

APScheduler Get next_run_time

I am looking to get the next_run_time of a scheduled job but I receive an AttributeError when on that. How do I properly access it:sched.add_job(myFunc, 'cron', minute='*',...

View Article

Answer by Bijan for Price Scraping: Element not visible in html

The price data loads from a json file. You can see this by loading up Dev Tools and searching for the price (7,400 for me) and seeing what request loaded the price.The code to get the price is simple...

View Article
Browsing all 44 articles
Browse latest View live


Latest Images