ریختہ ڈاٹ آرگ سے کتب ڈاؤنلوڈ کرنے کا کوئی جگاڑ؟

محمد عمر

لائبریرین
السلام علیکم عمر بھائی اگر مطلوبہ فارمیٹ کو بائے ڈیفالٹ عکس کی بجائے پی ڈی ایف پر سیٹ کردیا جائے، اور اسی طرح آوٹ پٹ فولڈر بھی بائے ڈیفالٹ کسی ایک کو سیٹ کردیا جائے، تو میرے خیال میں بار بار منتخب کرنے کی پریشانی ختم ہوجائے گی۔

میرے خیال میں تو ایسا ہی ہے۔
 
میں نے ڈاؤنلوڈر تبدیل کر دیا ہے۔ آپ تمام اطلاقیے پرانے ربط سے حاصل کر سکتے ہیں۔ ربط یہاں دوبارہ شیئر کر رہا ہوں۔

اس میں موجود کمانڈ لائن اور یوزر انٹرفیس کی اپیلیکیشن اب کام کرتی ہیں۔ اس کے علاوہ اگر آپ میری لائبریری کا بھی استعمال کر رہے ہیں تو نیو گٹ سے اس کا تازہ ترین ورژن (1۔0۔20)اپگریڈ کر لیں۔

چونکہ ریختی بار بار اپنی اے پی آئی کی تبدیل کر رہا ہے اس لئے میں نے اس ورژن میں یہ خوبی ڈال دی ہے کہ آپ کوئی نئی کی بھی استعمال کر سکتے ہیں وہ بھی بنا میرے انتظار کے۔ اس کے لیے میں نے اضافی پیرامیٹر ڈال دیے ہیں جیسا کہ آپ ذیل میں دیکھ سکتے ہیں۔
-? | -h | --help Show help information -u |--url Book url to download. Click on book on site and copy the url from top. -t |--tasks Number of parallel pages to get. Default will be 10 pages -kn |--auth-key-name Value of the authentication key name -k |--auth-key Value of the authentication key -o |--output Type of output. Possible values are 'pdf' and 'image'. Default is pdf

ویسے تو نیا ورژن بنا کسی تبدیلی کے کام کرے گا لیکن اگر آپ محسوس کریں کہ ریختہ والوں نے اے پی آئی کی تبدیل کر دی ہے تو اس کے لیے آپ کو نئی کی ڈھونڈنی ہو گی جو کہ بہت آسان ہے۔ آپ کو اس کی ہدایات یہاں مل جائیں گی اور آپ سکرین شاٹ میں بھی دیکھ سکتے ہیں۔
Untitled.png

اس کے بعد پرانی کمانڈ کے ساتھ --auth-key اور --auth-key-name استعمال کرنے سے آپ نئی کی استعمال کر کے کتابیں حاصل کر سکیں گے۔ یاد رہے کہ یہ نئی کی آپ کو کی کی تبدیلی کے بعد ہر بار استعمال کرنا پڑے گی۔ مثال کے طور ذیل میں کمانڈ دیکھ لیں۔

.\Downloader -u https://rekhta.org/ebooks/alfaz-shumara-number-000-jameel-akhtar-magazines-7 -kn authtknkey -k eyJpdiI6IktVUGJ2b2RPWG1YMStZRnRhMVhIN1E9PSIsInZhbHVlIjoiSm5ZT3BRd0J3ckxTR0Zqc3VZa3RLUT09IiwibWFjIjoiYjkyYWMxZGNlZmFiMzZjNjY5MmI3YTI4Y2UwZWU2MjQ5NzMyMDNiMjlmMTRjM2ViZjk4YTk3Y2QyZDAxMTczZiJ9

اور اگر آپ یوزر انتڑفیس سے کام کرنا چاہیں تو میرے ربط سے UrduWeb.Digitizer.zip فائل حاصل کر کے دونوں آرگومنٹ یوزر انٹرفیس میں دے دیں۔
DTDVZ0O.png

محمد عمر بھائی براہِ مہربانی اے پی آئی تلاش کرنے میں مدد کریں۔ شکریہ
 

شکیب

محفلین
DTDVZ0O.png

محمد عمر بھائی براہِ مہربانی اے پی آئی تلاش کرنے میں مدد کریں۔ شکریہ
فی الحال تو اے پی آئی نہیں بدلی ہے چنانچہ اس کی کوئی ضرورت نہیں ہونی چاہیے۔
آگے جب ایسا ہو توQuery String Parameters ہیڈنگ کے نیچے جو پہلی اینٹری (authknkey کے نام سے) ہے، اسکی ویلیو کاپی کرنا ہے۔
آپ کے دیے گئے اسکرین شاٹ میں اس کی ویلیو eyJ سے شروع ہو کر
کوڈ:
n0=
پر ختم ہوتی ہے۔
 
میں نے ڈاؤنلوڈر تبدیل کر دیا ہے۔ آپ تمام اطلاقیے پرانے ربط سے حاصل کر سکتے ہیں۔ ربط یہاں دوبارہ شیئر کر رہا ہوں۔

اس میں موجود کمانڈ لائن اور یوزر انٹرفیس کی اپیلیکیشن اب کام کرتی ہیں۔ اس کے علاوہ اگر آپ میری لائبریری کا بھی استعمال کر رہے ہیں تو نیو گٹ سے اس کا تازہ ترین ورژن (1۔0۔20)اپگریڈ کر لیں۔

چونکہ ریختی بار بار اپنی اے پی آئی کی تبدیل کر رہا ہے اس لئے میں نے اس ورژن میں یہ خوبی ڈال دی ہے کہ آپ کوئی نئی کی بھی استعمال کر سکتے ہیں وہ بھی بنا میرے انتظار کے۔ اس کے لیے میں نے اضافی پیرامیٹر ڈال دیے ہیں جیسا کہ آپ ذیل میں دیکھ سکتے ہیں۔
-? | -h | --help Show help information -u |--url Book url to download. Click on book on site and copy the url from top. -t |--tasks Number of parallel pages to get. Default will be 10 pages -kn |--auth-key-name Value of the authentication key name -k |--auth-key Value of the authentication key -o |--output Type of output. Possible values are 'pdf' and 'image'. Default is pdf

ویسے تو نیا ورژن بنا کسی تبدیلی کے کام کرے گا لیکن اگر آپ محسوس کریں کہ ریختہ والوں نے اے پی آئی کی تبدیل کر دی ہے تو اس کے لیے آپ کو نئی کی ڈھونڈنی ہو گی جو کہ بہت آسان ہے۔ آپ کو اس کی ہدایات یہاں مل جائیں گی اور آپ سکرین شاٹ میں بھی دیکھ سکتے ہیں۔
Untitled.png

اس کے بعد پرانی کمانڈ کے ساتھ --auth-key اور --auth-key-name استعمال کرنے سے آپ نئی کی استعمال کر کے کتابیں حاصل کر سکیں گے۔ یاد رہے کہ یہ نئی کی آپ کو کی کی تبدیلی کے بعد ہر بار استعمال کرنا پڑے گی۔ مثال کے طور ذیل میں کمانڈ دیکھ لیں۔

.\Downloader -u https://rekhta.org/ebooks/alfaz-shumara-number-000-jameel-akhtar-magazines-7 -kn authtknkey -k eyJpdiI6IktVUGJ2b2RPWG1YMStZRnRhMVhIN1E9PSIsInZhbHVlIjoiSm5ZT3BRd0J3ckxTR0Zqc3VZa3RLUT09IiwibWFjIjoiYjkyYWMxZGNlZmFiMzZjNjY5MmI3YTI4Y2UwZWU2MjQ5NzMyMDNiMjlmMTRjM2ViZjk4YTk3Y2QyZDAxMTczZiJ9

اور اگر آپ یوزر انتڑفیس سے کام کرنا چاہیں تو میرے ربط سے UrduWeb.Digitizer.zip فائل حاصل کر کے دونوں آرگومنٹ یوزر انٹرفیس میں دے دیں۔
عمرصاحب جگاڑ نے پھر کام کرنا چھوڑ دیا ہے۔ برائے مہربانی کوئی آسان طریقہ بتادیں کہ جب ٹول کام کرنا بند کردے تو اس کو کس طرح دوبارہ کارآمد بنا سکتے ہیں۔
 

محمد عمر

لائبریرین
لگتا ہے آج کل ریختہ ڈیویلپرز کافی مصروف ہیں اور کافی بینادی قسم کی تبدیلیاں ہو رہی ہیں۔ میں نے اپنے ٹول کو تبدیل کر دیا ہے۔ اب یہ خودکار طریقے سے کی ڈھونڈ لے گا اور آپ کو کی ڈھونڈنے کی ضرورت نہیں۔ برائے مہربانی پرانے ربط سے نیا ٹول ڈاؤنلوڈ کر لیں۔

جیسا کہ ریختہ میں تبدیلیوں کی رفتار سے لگ رہا ہے کہ کچھ عرصہ تک غیر یقینی کی صورتحال ہو گی۔ میں کوشش کروں گا کہ وقت نکال کر جلد از جلد اس ٹول کر اپ ڈیٹ کرتا رہوں۔ آپ سب کے تعاون اور تحمل کا بہت شکریہ۔
 
آخری تدوین:

شکیب

محفلین
لگتا ہے آج کل ریختہ ڈیویلپرز کافی مصروف ہیں اور کافی بینادی قسم کی تبدیلیاں ہو رہی ہیں۔ میں نے اپنے ٹول کو تبدیل کر دیا ہے۔ اب یہ خودکار طریقے سے کی ڈھونڈ لے گا اور آپ کو کی ڈھونڈنے کی ضرورت نہیں۔ برائے مہربانی پرانے ربط سے نیا ٹول ڈاؤنلوڈ کر لیں۔

جیسا کہ ریختہ میں تبدیلیوں کی رفتار سے لگ رہا ہے کہ کچھ عرصہ تک غیر یقینی کی صورتحال ہو گی۔ میں کوشش کروں گا کہ وقت نکال کر جلد از جلد اس ٹول کر اپ ڈیٹ کرتا رہوں۔ آپ سب کے تعاون اور تحمل کا بہت شکریہ۔
اس بار کیا تبدیلی ہوئی تھی؟
 

محمد عمر

لائبریرین
اس بار انہوں نے کتاب کی آئی ڈی کو تبدیل کر دیا ہے اور صفحات کے عکس حاصل کرنے کے یو آر ایل کو بھی تبدیل کر دیا ہے۔ کتاب کی آئی ڈی کے لیے بجائے ایک یو یو آئی ڈی کے وہ ایک آر ایس اے انگرپٹڈ سٹرنگ ہے۔
 
لگتا ہے آج کل ریختہ ڈیویلپرز کافی مصروف ہیں اور کافی بینادی قسم کی تبدیلیاں ہو رہی ہیں۔ میں نے اپنے ٹول کو تبدیل کر دیا ہے۔ اب یہ خودکار طریقے سے کی ڈھونڈ لے گا اور آپ کو کی ڈھونڈنے کی ضرورت نہیں۔ برائے مہربانی پرانے ربط سے نیا ٹول ڈاؤنلوڈ کر لیں۔

جیسا کہ ریختہ میں تبدیلیوں کی رفتار سے لگ رہا ہے کہ کچھ عرصہ تک غیر یقینی کی صورتحال ہو گی۔ میں کوشش کروں گا کہ وقت نکال کر جلد از جلد اس ٹول کر اپ ڈیٹ کرتا رہوں۔ آپ سب کے تعاون اور تحمل کا بہت شکریہ۔
انتہائی مشکور ہوں نوجوان۔ اللہ آپ کو خوش رکھیں۔
 

تعمیر

محفلین
لگتا ہے آج کل ریختہ ڈیویلپرز کافی مصروف ہیں اور کافی بینادی قسم کی تبدیلیاں ہو رہی ہیں۔ میں نے اپنے ٹول کو تبدیل کر دیا ہے۔ اب یہ خودکار طریقے سے کی ڈھونڈ لے گا اور آپ کو کی ڈھونڈنے کی ضرورت نہیں۔ برائے مہربانی پرانے ربط سے نیا ٹول ڈاؤنلوڈ کر لیں۔
مگر آپ نے بتایا نہیں کہ نئے ٹول سے کمانڈ لائن کیا رہے گی؟
 
Microsoft Windows [Version 10.0.19041.867]
(c) 2020 Microsoft Corporation. All rights reserved.

G:\New folder>downloader -u | ریختہ
Book Id : eyJpdiI6InoweFpSTkZoU1dKRXczYmZHRXM3T3c9PSIsInZhbHVlIjoiTzdhZlFESW82L0J3eWVRdWJ0aXprKzBQUHpoRElXbnBoUVBhazk4ZVRtYkZIdHhGWllObllnaEdnQVI0bEg3TCIsIm1hYyI6IjUyZDJmMmNjZTllZmE4ZDI3OWFmZWRlNGI5NWIxYzA3YTg1OWJkYjliODY5NDJmZWI4Y2E2ZWE3ODY5YTg3NDMifQ==&cidx=' + sIdx+
Book Name : iqraa-ebooks?lang=ur
Page Count: 258
Failed to download page. Retrying #1...
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)))
---> System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.))
---> System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadBook(String outputPath)
at RekhtaDownloader.BookExporter.DownloadBook(String bookUrl, Int32 taskCount, OutputType output, String outputPath, CancellationToken token)
at Downloader.Program.DownloadBook(String bookUrl, Int32 taskCount, OutputType outputType, CancellationToken token) in /home/runner/work/rekhtadownloader/rekhtadownloader/Downloader/Program.cs:line 74
at Downloader.Program.<>c__DisplayClass0_0.<<Main>b__0>d.MoveNext() in /home/runner/work/rekhtadownloader/rekhtadownloader/Downloader/Program.cs:line 61
---> (Inner Exception #1) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #2) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #3) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #4) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #5) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #6) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #7) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #8) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #9) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass79_0.<OnExecute>b__0()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Downloader.Program.Main(String[] args) in /home/runner/work/rekhtadownloader/rekhtadownloader/Downloader/Program.cs:line 69

G:\New folder>
 

تعمیر

محفلین
Microsoft Windows [Version 10.0.19041.867]
(c) 2020 Microsoft Corporation. All rights reserved.

G:\New folder>downloader -u | ریختہ
Book Id : eyJpdiI6InoweFpSTkZoU1dKRXczYmZHRXM3T3c9PSIsInZhbHVlIjoiTzdhZlFESW82L0J3eWVRdWJ0aXprKzBQUHpoRElXbnBoUVBhazk4ZVRtYkZIdHhGWllObllnaEdnQVI0bEg3TCIsIm1hYyI6IjUyZDJmMmNjZTllZmE4ZDI3OWFmZWRlNGI5NWIxYzA3YTg1OWJkYjliODY5NDJmZWI4Y2E2ZWE3ODY5YTg3NDMifQ==&cidx=' + sIdx+
Book Name : iqraa-ebooks?lang=ur
Page Count: 258
Failed to download page. Retrying #1...
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #1...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #2...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #3...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #4...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Failed to download page. Retrying #5...
Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
Unhandled exception. System.AggregateException: One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)))
---> System.AggregateException: One or more errors occurred. (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)) (One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.))
---> System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadBook(String outputPath)
at RekhtaDownloader.BookExporter.DownloadBook(String bookUrl, Int32 taskCount, OutputType output, String outputPath, CancellationToken token)
at Downloader.Program.DownloadBook(String bookUrl, Int32 taskCount, OutputType outputType, CancellationToken token) in /home/runner/work/rekhtadownloader/rekhtadownloader/Downloader/Program.cs:line 74
at Downloader.Program.<>c__DisplayClass0_0.<<Main>b__0>d.MoveNext() in /home/runner/work/rekhtadownloader/rekhtadownloader/Downloader/Program.cs:line 61
---> (Inner Exception #1) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #2) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #3) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #4) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #5) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #6) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #7) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #8) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

---> (Inner Exception #9) System.AggregateException: One or more errors occurred. (Unexpected character encountered while parsing value: i. Path '', line 0, position 0.)
---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: i. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at RekhtaDownloader.Book.<>c__DisplayClass21_0.<<DownloadPage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.AsyncPolicy.<>c__DisplayClass40_0.<<ImplementationAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync(Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at RekhtaDownloader.Book.DownloadPage()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)<---

--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass79_0.<OnExecute>b__0()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Downloader.Program.Main(String[] args) in /home/runner/work/rekhtadownloader/rekhtadownloader/Downloader/Program.cs:line 69

G:\New folder>
اس قدر لمبی پوسٹ غیرضروری تھی۔ اس متن کی ٹکسٹ فائل اٹیچ کر دی جاتی تو بہتر ہوتا۔ اسکرولنگ کرتے کرتے پریشانی اٹھانی پڑی
 

محمد عمر

لائبریرین
آپ لوگوں کی سمجھ میں یہ بات کیوں نہیں آ رہی کہ یہ اس ٹول ہی کا سدباب کیا جا رہا ہے؟
اگر ان کا منشا یہ ہے تو بہت ہی عجیب طریقہ ہے۔ اس کام کے متعدد بہتر طریقے موجود ہیں۔
میرے ذاتی خیال نہیں کہ ایسا ہے کیونکہ تبدیلیاں ویب سائیٹ کی اندرونی ہیں۔ چونکہ ہم ان کی ویب سائیٹ کے کام کرنے کے طریقے کو کاپی کرنے کی کوشش کرتے ہیں تو اس میں معمولی سی تبدیلی بھی اس ڈاؤنلوڈر کے کام میں خلل ڈال دیتی ہے اور اسی لیے یہ کام کرنا چھوڑ دیتا ہے۔

ابھی میں کچھ عرصہ انتظار کر کے کوئی جگاڑ لگاؤں گا تا کہ آئے روز کی تبدیلی سے بچا جا سکے۔
 
آخری تدوین:
Top