Srajan Garg

Results 10 comments of Srajan Garg

script: ``` import requests, bs4 import glob, datetime, os, sys def mkdir(dir): if not os.path.exists(dir): os.makedirs(dir) def save_data(symbol, dirx): tickr = symbol[0] stk_type = symbol[1] expiry = symbol[2] res =...

The `[]` are meant to be indicative of arguments. Not to be actually added. Remove the `[] `

Try to understand what the code is doing and make them yourself. Also the parantheses for the prints are used in python 3, I've specifically mentioned python2...

what you will get includes the ['Close'] price along with other information. ``` df = get_history("RELIANCE", start=date(2019,1,1), end=date(2019,6,31)) # df['Close'] is what you want ```

Same issue for uploaded html files. the `file["content"]["data"]` variable does not contain the raw HTML data and instead some parsed version of it instead - how stupid

@skye0402 can we merge this? @gregpr07 this is still not supported by browser-use and seems like a core part of building browser based workflows (nobody wants to be logging into...

```json { "actions": [ { "action": "ACTION_SET_CUSTOM_THUMBNAIL", "addedCustomThumbnail": { "imageKey": { "type": "PLAYLIST_IMAGE_TYPE_CUSTOM_THUMBNAIL", "name": "studio_square_thumbnail" }, "playlistScottyEncryptedBlobId": "65jVDxiw9NQXhgph-9IlssToi-FoBdg68actYIIMK-vjU2o5Gq8QvK5H9PkpmMVZvtP7jQspWqJhprOnmyp1aQ==" } } ] } ``` this is the request payload to `https://music.youtube.com/youtubei/v1/browse/edit_playlist`

before that call^ there was a call to ``` https://music.youtube.com/playlist_image_upload/playlist_custom_thumbnail?upload_id=AFiumC58THIgewkszL0aq8xbBLW1PSC-notrwUIrOnWDEkxSt0PDPf52HNC8x3xv7XIe1zwBXqOfCA6Ox9mW4dOF_KeC_YCzYro5hbDqGPe9UA&upload_protocol=resumable ``` with the payload containing the image data (my guess). and the response was ```json { "encryptedBlobId":"65jVDxiw9NQXhgph-9IlssToi-FoBdg68actYIIMK-vjU2o5Gq8QvK5H9PkpmMVZvtP7jQspWqJhprOnmyp1aQ==" } ``` the...

and before that call^ was an empty request call to `https://music.youtube.com/playlist_image_upload/playlist_custom_thumbnail` that returned ``` x-goog-upload-url: https://music.youtube.com/playlist_image_upload/playlist_custom_thumbnail?upload_id=AFiumC58THIgewkszL0aq8xbBLW1PSC-notrwUIrOnWDEkxSt0PDPf52HNC8x3xv7XIe1zwBXqOfCA6Ox9mW4dOF_KeC_YCzYro5hbDqGPe9UA&upload_protocol=resumable ``` in the reponse headers - which probably gives us the URL to call...